博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Maven 在eclispe中集成本地插件报错解决方案
阅读量:7301 次
发布时间:2019-06-30

本文共 2332 字,大约阅读时间需要 7 分钟。

hot3.png

 

关于eclipse 中添加 maven  插件报错,网上好的办法是删除 maven-resources-plugin 的插件自己实验后不太好用,最终解决办法:

1、删除org\apache\maven\plugins 目录下的所有插件

2、使用vpn 代理更新maven 插件

3、原因:网络问题无法下载插件

Errors occurred during the build.

Errors running builder 'Maven Project Builder' on project 'JBPM_Hello'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5

Multiple annotations found at this line:
 - CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-
  compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact
  descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException:
  Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from http://
  repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be
  reattempted until the update interval of central has elapsed or updates are forced. Original error:
  Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from/to
  central (): null to
  apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
 - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-
  compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile)
 - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-
  compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile)

转载于:https://my.oschina.net/stonefive/blog/366396

你可能感兴趣的文章
2019.5.29 区块链论文翻译
查看>>
Centos6.6安装mysql记录
查看>>
OCP读书笔记(5) - 使用RMAN创建备份
查看>>
java的接口和抽象类区别
查看>>
能够提高PHP的性能的一些注意事项
查看>>
020-请你说一说app测试的工具
查看>>
软件测试2019:第五次作业—— 安全测试(含安全测试工具实验)
查看>>
SSM框架搭建总结(2)
查看>>
Python学习(19)正则表达式
查看>>
PHP中空字符串、0、null、empty和false之间的关系
查看>>
【深度学习篇】---CNN和RNN结合与对比,实例讲解
查看>>
201771010126 王燕《面向对象程序设计(Java)》第十二周学习总结
查看>>
XAML实例教程系列 - 资源(Resources)
查看>>
LWIP互联网资料汇总
查看>>
外贸术语
查看>>
网络传输流量控制策略小结
查看>>
上传大文件
查看>>
Mybatis面试集合(转)
查看>>
分布式系统的完整介绍(一)
查看>>
考点1
查看>>