赞
踩
最近写的项目在构建时出现警告内容:
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>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。