当前位置:   article > 正文

The artifact mysql:mysql-connector-java:jar:8.0.33 has been relocated to com.mysql:mysql-connector-j

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

1、项目开发中遇到异常信息如下:

The artifact mysql:mysql-connector-java:jar:8.0.33 has been relocated to com.mysql:mysql-connector-j:jar:8.0.33
 

2、原因和解决方式

意思是:该组织下的模块:mysql:mysql-connector-java:8.0.33已经搬迁到com.mysql:mysql-connector-j:jar8.0.33

只需将引入的依赖更换到新的坐标即可消除警告

修改为:

<dependency>

<groupId>com.mysql</groupId>

<artifactId>mysql-connector-j</artifactId>

<version>8.0.33</version>

</dependency>

最后在右边Maven小窗口,记得 分别执行clean 、 compile、   install 命令 依赖即可

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/508619
推荐阅读
相关标签
  

闽ICP备14008679号