FirstSearch Blue

Find Everything You Need On Your First Search

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:

  1. Right-Click your project in the explorer
  2. Select Properties
  3. Go to Build and Run
  4. From the 'Build Project' drop-down select 'archive'
  5. Hit OK
  6. Right Click on your project
  7. Select Build (this will create the war)

Go to your projects//dist folder and you will see your war file

Conversation

Comments

Historic WordPress comments were imported into D1. New submissions stay in review until approved.

Published comments

Loading comments…