Article
How to Create a War File in Netbeans
July 7, 2011 Updated February 19, 2017 1 min read test
In most default configurations netbeans, does not create a war file in the dist folder where you would expect it. By default it often just copies the exploded war file into the jboss or glassfish deploy folder.
In order to create a war file:
- Right-Click your project in the explorer
- Select Properties
- Go to Build and Run
- From the 'Build Project' drop-down select 'archive'
- Hit OK
- Right Click on your project
- Select Build (this will create the war)
Go to your projects//dist folder and you will see your war file