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)

http://www.coderanch.com/t/510164/tools/Help-Maven-WAR-Build
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html

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: