之前用eclipse的时候没问题,现在公司用的MyEclipse,导进去就出问题了
报错是
Build errors for YLZdemo; org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-webmvc:jar -> duplicate declaration of version 3.2.8.RELEASE @ new:new:0.0.1-SNAPSHOT, H:\Workspaces\MyEclipse 8.6\YLZdemo\pom.xml
导的包是
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>3.2.8.RELEASE</ version> </dependency>
报错是
Build errors for YLZdemo; org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-webmvc:jar -> duplicate declaration of version 3.2.8.RELEASE @ new:new:0.0.1-SNAPSHOT, H:\Workspaces\MyEclipse 8.6\YLZdemo\pom.xml
导的包是
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>3.2.8.RELEASE</ version> </dependency>









