解决:Plugin org.apache.maven.plugins:maven-resources-plugin:2.6错误
2018-11-15 19:36:07
3654次阅读
0个评论
Maven时出现以下错误
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'aaa'.Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
找到maven的包的位置:window->preferences->Maven->User Settings找到。
一般是在:{user.home}.m2\repository
2、查看是哪个包的问题,例如:我的问题是org.apache.maven.plugins:maven-resources-plugin包下的2.6出了问题。
则找到:C:\Users\Admin.m2\repository\org\apache\maven\plugins\maven-resources-plugin\2.6 删除这个包。
3、回到Eclipse右键项目选择Maven->Update Project…
00
相关话题
- Maven编译项目“不可映射字符”解决
- java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTPictureBaseImpl错误
- 解决一个意外错误使您无法删除该文件
- MyEclipse 2016创建Maven Web 项目
- MyEclipse Maven项目加入本地jar包
- Apache commons compress文件打包、压缩
- Apache Commons Compress zip压缩解压
- Apache-Commons CSV读写文件
- Maven打包war包含空文件夹
- Apache POI 3.17读取PowerPoint文件PPT
- lucene (Too many open files)错误
- 解决执行脚本报syntax error: unexpected end of file或syntax error near unexpected token `fi'错误的问题
- Nginx 上传文件出现413 Request Entity Too Large错误
- java.lang.ClassNotFoundException: javax.xml.bind.JAXBException错误
- Apache的commons-net实现FTP的文件上传下载