A required class was missing while executing org.apache.maven.plugins:maven-war-plugin:2.1.1:war

后端 未结 9 858
小蘑菇
小蘑菇 2020-12-31 01:46

Here is my clean install -x result:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] --         


        
9条回答
  •  死守一世寂寞
    2020-12-31 02:24

    You should add maven-resources-plugin in your pom.xml file. Deleting ~/.m2/repository does not work always.

            
                
                    org.apache.maven.plugins
                    maven-resources-plugin
                    2.4
                
            
    

    Now build your project again. It should be successful!

提交回复
热议问题