当前位置:   article > 正文

解决maven构建时警告:The artifact xxx has been relocated to xxx_the artifact mysql:mysql-connector-java:jar:8.0.33

the artifact mysql:mysql-connector-java:jar:8.0.33 has been relocated to com

最近写的项目在构建时出现警告内容:
The artifact mysql:mysql-connector-java:jar:8.0.33 has been relocated to com.mysql:mysql-connector-j:jar:8.0.33
在这里插入图片描述
意为:该组织下的模块:mysql:mysql-connector-java:jar:8.0.33已经搬迁到
com.mysql:mysql-connector-j:jar:8.0.33
通过Maven Repository查询:
在这里插入图片描述
只需将引入的依赖更换到新的坐标即可消除该警告:

<dependency>
    <groupId>com.mysql</groupId>
    <artifactId>mysql-connector-j</artifactId>
    <version>8.0.33</version>
</dependency>
  • 1
  • 2
  • 3
  • 4
  • 5
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/473174
推荐阅读
相关标签
  

闽ICP备14008679号