How to create WAR file in eclipse? [duplicate]

橙三吉。 提交于 2019-12-11 00:42:23

问题


I have maven based project. I want to create WAR file. I have eclipse (Version: Helios Service Release 2). *What are the steps to create WAR file? *Where to give WAR name?


回答1:


If your project is maven-based project then : 1)Right click on your project. 2) Choose Run-as 3) Select Maven install 4) Check the console for Build failure or success .

Your WAR file of a project is generated into the target folder.




回答2:


Right click your project name in the project explorer panel. On the popup menu, go to Export, you will see the War file menu item



来源:https://stackoverflow.com/questions/20737596/how-to-create-war-file-in-eclipse

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!