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

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

Here is my clean install -x result:

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


        
9条回答
  •  忘掉有多难
    2020-12-31 02:06

    In my case the situation was this: I had an offline server on which I had to perform the build. For that I had compiled everything locally first and then transferred repository folder to the offline server.

    Problem - build works locally but not on the server, even thou they both have same maven version, same repository folder, same JDK.

    Cause: on my local machine I had additional custom "" entry in settings.xml. When I added same to the settings.xml on the server then my issues disappeared.

提交回复
热议问题