码迷,mamicode.com
首页 > 其他好文 > 详细

maven pom文件报错:Multiple annotations found at this line 解决方案

时间:2020-11-30 15:21:50      阅读:4      评论:0      收藏:0      [点我收藏+]

标签:for   except   html   available   over   cycle   ota   lin   ase   

出现的错误为:

Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (execution: default-testCompile, phase: test-compile)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (execution: default-compile, phase: compile)
- CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be
resolved: The repository system is offline but the artifact com.google.collections:google-collections:jar:1.0 is not available in the local repository.
- CoreException: Could not get the value for parameter compilerId for plugin execution default-testCompile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be
resolved: The repository system is offline but the artifact com.google.collections:google-collections:jar:1.0 is not available in the local repository.

解决方案具体看这篇:https://www.codeprj.com/blog/9e35961.html

就是强制更新一下就可以了

maven pom文件报错:Multiple annotations found at this line 解决方案

标签:for   except   html   available   over   cycle   ota   lin   ase   

原文地址:https://www.cnblogs.com/clb123/p/14032315.html

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