Skip to content
Advertisement

Building a war on intellij

I have a Java EE project I have imported into IntelliJ . I can compile the project but for some reason not able to build a war artifact , when I go to the build tab the <build artifacts> option is blanked out ( ie I cannot select it ) . my project compiles fine but I am still confused on how I could build my war .

Advertisement

Answer

Operating sequence can be such (dependent of IDE version):

Choose:

File -> Project Structure -> Artifacts

Then press Alt+Insert and create new artifact:

enter image description here

After this actions item Build artifacts should be available.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement