Some problems were encountered while building the effective model for cn.zyx:buildvideowebsite:jar:0.0.1-SNAPSHOT
'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: mysql:mysql-connector-java:jar -> duplicate declaration of version (?) @ line 56, column 21
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
使用mave clean 时出现了这个警告,仔细查看发现是mysql:mysql-connector-java:jar这个包不唯一,说明重复导包了,去pom文件看了下确实是多导入了一个,删掉一个就好