2

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?

pan1490
  • 939
  • 1
  • 7
  • 25

2 Answers2

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

Robin
  • 359
  • 5
  • 11
2

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.

Nakul91
  • 1,245
  • 13
  • 30