eclipse中的maven web项目报错:org/codehaus/plexus/archiver/jar/JarArchiver
2015-10-16 10:18
531 查看
Errors occurred during thebuild.
Errors running builder 'Maven Project Builder' on project'ebus.transaction'.
org/codehaus/plexus/archiver/jar/JarArchiver
![](https://oscdn.geek-share.com/Uploads/Images/Content/202009/28/8b74802ec2cc80d7a748fe1caf24a2f1)
两种方式参考:
第一种:在pom.xml文件里的maven-compiler-plugin插件里指定版本号
[html] view
plaincopy
![](https://oscdn.geek-share.com/Uploads/Images/Content/201611/a7c8e286f463007e2a900848b93dd72c.png)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201611/9e12f1d3e499fc949c886e7c9e0484f9)
<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)重启就可以了
Errors running builder 'Maven Project Builder' on project'ebus.transaction'.
org/codehaus/plexus/archiver/jar/JarArchiver
两种方式参考:
第一种:在pom.xml文件里的maven-compiler-plugin插件里指定版本号
[html] view
plaincopy
![](https://oscdn.geek-share.com/Uploads/Images/Content/201611/a7c8e286f463007e2a900848b93dd72c.png)
<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)重启就可以了
相关文章推荐
- ajax + struts2 return 404 Code
- Stanford NLP自然语序处理demo,附maven dependency
- java编程IO简单回顾和学习
- eclipse maven plugin 插件 安装 和 配置
- maven jdk 版本配置
- Java用itext操作PDF
- MyEclipse在Java文件中设置作者、日期
- Eclipse下导入外部jar包的3种方式
- spring注解方式 idea报could not autowire
- java实现英文单词单复数的相互转换
- 如何使用Java List等集合类的removeAll方法
- java 对象 赋值
- 大道至简第三章加java第三章动手动脑
- java 排序一个集合
- HwLauncher﹕ Launcher dialog dismiss failed : java.lang.IllegalArgumentException: no dialog with id 1
- eclipse或MyEclipse修改注释
- Eclipse中项目名出现红色感叹号解决方法
- 查看Eclipse 的版本
- pig eclipse插件
- eclipse自动生成方法注释 快捷键