Powered by Syntax Highlighter scripts!

Maven war packaging issue

Was getting the error message below when trying to package a web application to be deployed as war in tomcat:

Caused by: org.codehaus.plexus.archiver.ArchiverException: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)


These link helped in resolving the WAR packaging issues that I was getting. As per the second link, I moved my webapp resources to a folder src/main/webapp.

No comments: