开发者

How to make war file in Eclipse [duplicate]

This question already has answers here: How to create war files (13 answers) Closed 9 years ago.

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.

  1. Is maven compulsory to make war file?
  2. 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 :

How to make war file in Eclipse [duplicate]

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜