How to make war file in Eclipse [duplicate]
What is the easy way to make war file?
My project is working when i right click run on server, but i want to deploy on tomcat server.
I have installed m2clipse
but it gave me an error.
- Is maven compulsory to make war file?
Do i need special directory structure to make war with eclipse?
Failed to execute goal org.apache.maven.plugins开发者_Go百科:maven-war-plugin:2.1.1:war (default-war) on project testing2: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1] [ERROR]
File -> Export -> Web -> WAR file
OR in Kepler follow as shown below :
精彩评论