Not Initialize Class Org.apache.maven.plugin.war.util.webappstructureserializer — Could
Add the following configuration to your maven-war-plugin declaration:
The error is a java.lang.NoClassDefFoundError . Despite the name, this is distinct from a ClassNotFoundException . A ClassNotFoundException happens when the Java Virtual Machine (JVM) tries to load a class that simply doesn't exist on the classpath.
If you cannot update the parent POM, you can explicitly override the plugin version in your local pom.xml as shown in Solution 1. You can verify which version of the plugin is actually being used by running: