Intellij idea non-MAVEN project Export War package

Source: Internet
Author: User

1. Window project configuration: Right-click on the project->open Module settings or shortcut key Shift+ctrl+alt+s

2: Check if there is a web in modules, if no web is added

Web resouce direcytory Select Webroot Directory

Souce Roots tick off and OK, if there are other frameworks used in the project, such as spring, Hibernate and so on, remember to add the corresponding module.

3: Check whether facets inside already exists modules inside add content, if present, that OK, start set export war process

4. First look at the configuration after the successful appearance,

<1>: Select Web application:exploded, select from Modules, then select your project name, then change the name of the war name

<2> Next Select Web Application Archive Select for Xxxx:war exploded

,》

<3> configuration is successful, then choose Build---build artifacts in the menu, export it, SAO years!

Intellij idea non-MAVEN project Export 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.