宜立方商城中,mvn报错'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-webmvc:jar报错

时间:2022-08-23 20:08:32

'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-webmvc:jar

dependency.(groupId:artifactId:type:classifier)' must be unique:依赖必须是唯一的

duplicate declaration of version :重复申明版本

解决:检查自己的pox.xml中是否重复依赖了spring-webmvc