maven项目添加文件夹报错

时间:2019-05-19 22:19:35   收藏:0   阅读:210
 报错内容如下(省略了好多):

Multiple annotations found at this line:

- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: Unable to 
load the mojo ‘resources‘ (or one of its required components) from the plugin ‘org.apache.maven.plugins:maven-resources-
plugin:2.6‘ (org.apache.maven.plugins:maven-resources-plugin:2.6:resources:default-resources:process-resources) 
org.apache.maven.plugin.PluginExecutionException: Execution default-resources of goal org.apache.maven.plugins:maven-
resources-plugin:2.6:resources failed: Unable to load the mojo ‘resources‘ (or one of its required components) from the plugin 
‘org.apache.maven.plugins:maven-resources-plugin:2.6‘ at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:153) at 
org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331) at 

 ..... 

 

解决方式:右击项目-->maven-->update project 

原文:https://www.cnblogs.com/JavaTWW/p/10890950.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!