Wednesday, February 26, 2014

Generating a war file from a plain IntelliJ web project

Sometimes you just want to create a quick web project in IntelliJ IDEA, and you would use their wizard and with web or Java EE module as starter project. But these projects will not have Ant nor Maven script generated for you automatically, and the IDEA Build would only compile your classes. So if you want an war file generated, try the following:

1) Menu: File > Project Structure > Artifacts
2) Click the green + icon and create a "Web Application: Archive", then OK
3) Menu: Build > Build Artifacts ... > Web: war

By default it should generate it under your <project>/out/artifacts/web_war.war


Note that IntelliJ also allows you to setup "Web Application: Exploded" artifact, which great for development that run and deploy to an application server within your IDE.

13 comments:

  1. I am very impressed with your post because this post is very beneficial for me and provide new knowledge to me.....
    JetBrains PhpStorm Crack

    ReplyDelete
  2. This site have particular software articles which emits an impression of being a significant and significant for you individual, able software installation.This is the spot you can get helps for any software installation, usage and cracked.
    https://crackexe.net/https://crackexe.net/
    phpstorm-crack
    malwarebytes-premium-crack
    apowerrec-crack
    garmin-basecamp-crack
    beecut-crack
    netbalancer-crack
    debut-video-capture-crack
    openshot-video-editor-crack

    ReplyDelete
  3. PhpStorm mac 2022 Torrent provides you with intelligent coding assistance. This application automatically verifies your code as you type. In addition, it analyzes the whole project for perfect precision. The cracked PhpStorm Linux comes with PHPDoc support, code arranger & formatter
    https://keypccrack.com/phpstorm-crack/

    ReplyDelete
  4. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.
    getmacsoftware.com
    IntelliJ IDEA Crack

    ReplyDelete
  5. Thanks for sharing this post. Your work is amazing. You can also check out PicPick Professional Crack for Free. You can also visit the Website vcracks.com
    PhpStorm Crack
    Camtasia Studio Crack

    ReplyDelete
  6. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    vstkey.com
    PhpStorm Crack

    ReplyDelete

  7. Hello, Your Site is very nice, and it's very helping us this post is unique and interesting, thank you for sharing this awesome information. and visit our blog site also.. Keep it up
    utorrent-newest-pro-crack
    nch-debut-video-capture
    gilisoft-audio-toolbox-crack/a>
    icare-data-recovery-pro-crack

    ReplyDelete
  8. Hello, Your Site is very nice, and it's very helping us this post is unique and interesting, thank you for sharing this awesome information. and visit our blog site also.. Keep it up
    magic-photo-recovery
    r-windows-morphvox/a>
    icare-data-recovery-pro-crack
    picture-merge-genius

    ReplyDelete