"Inelij" uses Inelij idea 2016 to export a Java Web project as a war package

Source: Internet
Author: User
Tags java web

This document documents the process of using idea to export a war package and the solution to the problem.

Although we are now using idea for development, I still use eclipse to fight the war package ....
This is not the way to go.
So try to pack it today with idea.
The project uses the SSH framework and is not managed with Maven.

The first step is to configure the Web application:exploded (already configured to skip to the second step):

Open Project Structure (the default shortcut is Ctrl+alt+shift+s), select Artifacts + Web application:exploded from module to select the appropriate module for the project:

The second step is to configure the Web application:archive (that is, the war package):

Select artifacts "+" Web application:archive for Xxxxx:war exploded (xxxxx is the first name you configured)

but I used the way to export the war package when there is no class, very strange!!
Workaround:
Add the project-compiled class to the Web application:archive:

Third Step compilation export

Click Make (Default Shortcut key Ctrl+f9) version 2017 to omit this step

Build Artifacts:


End

"Inelij" uses Inelij idea 2016 to export a Java Web project as a war package

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.