java吧 关注:1,307,935贴子:12,883,885
  • 0回复贴,共1

导jar包出问题,大神帮忙看看什么情况?

只看楼主收藏回复

之前用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>


IP属地:福建来自iPhone客户端1楼2017-05-07 18:48回复