The problem is that your WAR project (xxxx) has "ear" packaging.Open the xxxx/pom.xml file, change the packaging from "ear" to "war" and call Run As>Maven clean, Run As>Maven package for the xxxx-parent project.
How did you create those projects?
Reply to this message by going to Community
Start a new discussion in JBoss Tools at Community