intellij-configuration artifacts to solve the warnings of no artifacts

Source: Internet
Author: User
Tags tomcat

Artifacts: A concept in Maven that shows how a project/modules packaged, such as Jar,war,war Exploded,ear, A project or module has a artifacts can be deployed to the Web application Server ~ is not very interesting ~ haha ~

Click on the project name, press F4 or right-click to select Open Module settings, pop-up box select artifacts, point Center + number Configuration
Describe the output directory, where the packaged application outputs.
Fill in one: we know that if you want to deploy an app on Tomcat the simplest way is to put the application files directly in the Tomcat folder under the WebApps folder, so it is recommended to choose the WebApps directory under Tomcat, create a new folder, The name is the address entered in the browser address bar, such as my mylibrary, enter the http://www.mylibrary.com test
Way two: Of course, some people will suggest you put in the default directory, and so on application development and then copy and paste into the WebApps directory, the advantage is that can be arbitrarily changed before deployment, debugging will not affect the official release of the file.
Picking Bar ~
Last tick on show content of Elements,ok, done.

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.