IDEA create Web project and deploy in Tomcat run

Source: Internet
Author: User
Tags tomcat server
1, the idea of Web projects under the new will not say.

2. Configure Tomcat:file-->settings-->build,execution,deployment-->application servers, click +, select Tomcat Server, In the pop-up dialog box, select the Tomcat installation directory and click OK to display the following:




3. Click File-->project structure-->modules, select the Web project you want to deploy, click +, select the web in the pop-up dropdown box, and enter your desired name in name. Such as:




4, click Artifacts in the sibling directory, click +, in the pop-up options, select Web Application:exploded-->from Modules ..., select the module you want to deploy. Such as:



5, click OK, such as:



6. Select from the menu bar: Run--->edit configurations ..., configure startup parameters such as:




7. Select Deployment tab, click +, select Artifact ..., select the previously configured artifact. Such as:



At this point, you can run the Web project.


IDEA create Web project and deploy in Tomcat run

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.