maven-resource-plugin 报错
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
我也遇到同样的问题大神有解决的方法吗
偶的maven
是3.2.1
回复
如果jar包要升级 最好把相关jar都升级 只升级部分jar包很容易出现这种问题
关键jar都有的!本地仓库有的!
版本兼容问题吧