码迷,mamicode.com
首页 > Web开发 > 详细

eclipse中的maven web项目报错:org/codehaus/plexus/archiver/jar/JarArchiver

时间:2014-08-31 21:30:11      阅读:710      评论:0      收藏:0      [点我收藏+]

标签:errors occurred duri   errors running build   orgcodehausplexusarc   eclipse maven web项目   

Errors occurred during thebuild.

Errors running builder ‘Maven Project Builder‘ on project‘ebus.transaction‘.

org/codehaus/plexus/archiver/jar/JarArchiver

bubuko.com,布布扣

两种方式参考:

第一种:在pom.xml文件里的maven-compiler-plugin插件里指定版本号

<plugins>  
        <plugin>  
            <artifactId>maven-compiler-plugin</artifactId>  
            <version>2.3.2</version>  
            <configuration>  
                <source>1.6</source>  
                <target>1.6</target>  
                <encoding>UTF-8</encoding>  
            </configuration>  
        </plugin>  
    </plugins>
第二种:

(1)关闭eclipse

(2)将\.m2\repository\org\codehaus\plexus\plexus-archiver删掉只剩最新版本

(3)重启就可以了



eclipse中的maven web项目报错:org/codehaus/plexus/archiver/jar/JarArchiver

标签:errors occurred duri   errors running build   orgcodehausplexusarc   eclipse maven web项目   

原文地址:http://blog.csdn.net/lele2426/article/details/38963071

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!