maven项目添加文件夹报错

 报错内容如下(省略了好多):

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 

posted @ 2019-05-19 21:35  爱上咖啡的唐  阅读(532)  评论(0编辑  收藏  举报