Tools for Novice Tutorials (vi)--let MAVEN project run directly in Tomcat inside Eclipse

Source: Internet
Author: User

Hello, everyone, long time no see! Recently finally settled down, you can quiet down to write things. First write a simple, look for feelings. The tool family itself is relatively simple, there is no technical content. Because in the final analysis, tools only help us to work, know how to use, and then the rest is the skilled things.


Today, let's talk about how to run the MAVEN project directly under Tomcat inside Eclipse:


Switch to Servers view, double-click Tomcat to open the Tomcat properties panel:



In the lower left corner of the Tomcat Properties panel, select the Modules tab, delete the default item, and then add an extended web Modules.



Then select the path to your project, and note that the path must be selected under MAVEN's compiled target directory.




Path is the access path, that is, "localhost:8080" after the things, according to their own circumstances.


When you are finished adding:



OK, the configuration is over here, then right-click on the-->run As-->clean install on the project or pom file, wait for it to complete, then launch Tomcat in Eclipse. With the introduction of the Jrebel plug-in before you can let Maven project under Tomcat to achieve hot deployment, quickly try it!


Tools for Novice Tutorials (vi)--let MAVEN project run directly in Tomcat inside Eclipse

Related Article

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.