maven-resource-plugin 报错

发布于 2021-12-04 07:04:03 字数 2174 浏览 685 评论 6

Multiple annotations found at this line:

- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: A required class was missing while executing 

org.apache.maven.plugins:maven-resources-plugin:2.6:resources: org/apache/maven/shared/filtering/MavenFilteringException ----------------------------------------------------- realm = 

plugin>org.apache.maven.plugins:maven-resources-plugin:2.6 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/Users/chendongdong/maven/pero/org/

apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.jar urls[1] = file:/Users/chendongdong/maven/pero/org/codehaus/plexus/plexus-utils/1.1/plexus-

utils-1.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] ----------------------------------------------------- 

(org.apache.maven.plugins:maven-resources-plugin:2.6:resources:default-resources:process-resources)

- Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:testResources failed: A required class was missing while executing 

org.apache.maven.plugins:maven-resources-plugin:2.6:testResources: org/apache/maven/shared/filtering/MavenFilteringException ----------------------------------------------------- realm = 

plugin>org.apache.maven.plugins:maven-resources-plugin:2.6 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/Users/chendongdong/maven/pero/org/

apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.jar urls[1] = file:/Users/chendongdong/maven/pero/org/codehaus/plexus/plexus-utils/1.1/plexus-

utils-1.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] ----------------------------------------------------- 

(org.apache.maven.plugins:maven-resources-plugin:2.6:testResources:default-testResources:process-test-resources)

求教高手,偶用2.5没问题,但是2.6就出错!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

终止放荡 2021-12-07 06:40:51

我也遇到同样的问题大神有解决的方法吗

女中豪杰 2021-12-07 06:30:13

偶的maven

辞别 2021-12-07 05:27:15

是3.2.1

反话 2021-12-06 13:10:04

回复
如果jar包要升级 最好把相关jar都升级 只升级部分jar包很容易出现这种问题

归途 2021-12-05 15:30:49

关键jar都有的!本地仓库有的!

掩饰不了的爱 2021-12-04 18:18:07

版本兼容问题吧 

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文