博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Maven 错误笔记
阅读量:6947 次
发布时间:2019-06-27

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

hot3.png

Multiple annotations found at this line:

    - CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3..0.5 or one of its 
     dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3..0.5: 
     ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3..0.5 from http://maven.oschina.net/
     content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of CN has elapsed or 
     updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3..0.5 from/to CN (http://
     maven.oschina.net/content/groups/public/): Failed to transfer http://maven.oschina.net/content/groups/public/org/apache/maven/plugins/
     maven-compiler-plugin/3..0.5/maven-compiler-plugin-3..0.5.pom. Error code 500, Server Error
    - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3..0.5:testCompile 
     (execution: default-testCompile, phase: test-compile)
    - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3..0.5:compile (execution: 
     default-compile, phase: compile)
    - CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3..0.5 or one of its 
     dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3..0.5: 
     ArtifactResolutionException: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3..0.5 from/to CN (http://
     maven.oschina.net/content/groups/public/): Failed to transfer http://maven.oschina.net/content/groups/public/org/apache/maven/plugins/
     maven-compiler-plugin/3..0.5/maven-compiler-plugin-3..0.5.pom. Error code 500, Server Error

 

 

pom报错,具体如上。

原因:maven-compiler-plugin的版本太高

解决方法1:

将maven-compiler-plugin的版本降低,即可解决。

解决方法2:

右键项目,选择maven  -> update project,勾选Force  Update of Snapshots/Releases,点击ok即可解决。

 

转载于:https://my.oschina.net/yq0128/blog/716515

你可能感兴趣的文章
如何在Scala中使用条件表达式 .
查看>>
Linux下2TB以上磁盘使用gdisk工具创建GPT分区
查看>>
ubuntu12.04——samba中的windows、linux用户名关系
查看>>
ruby on rails 多图上传
查看>>
MySQL 的 LIKE 查詢區分大小寫
查看>>
Unity HoloLens开发配置
查看>>
vim剪贴板小结
查看>>
Thinkpad ACCESS CONNECTIONS异常解决
查看>>
各行业对邮件服务器需求及解决方案
查看>>
linux软件管理与使用
查看>>
qt 使用样式设置渐变色背景
查看>>
ubuntu16.04 安装 操作 redis
查看>>
IIS启动网站出错的几个解决方法
查看>>
mysql对vachar排序的问题
查看>>
ASCII和Unicode编码
查看>>
什么事宏病毒,宏病毒的判断方法 ,宏病毒的防治和清除
查看>>
实战CGLib系列之proxy篇(五):接口生成器InterfaceMaker
查看>>
高并发编程-09-读写锁ReentrantReadWriteLock
查看>>
算法题!大家可以贡献答案哦!
查看>>
此文是2013年应届生实习时,集中培训班的最后,个人写给大家的话
查看>>