Publish Maven's multi-module Web project to Tomcat and the single-step debug module jar in Eclipse

Source: Internet
Author: User


1. Publish Maven's multi-module Web project to Tomcat in eclipse

The deployment of Eclipse and Maven and Tomcat is omitted, and the basics of MAVEN and its use are omitted here.

Follow steps such as the following:





Add the jar generated by the Lib and Maven modules to Lib.

Note: To this step there may be webcontent and no src/main/webapp, to do such as the following actions

1. Select Webcontent,remove to drop it

2, create a new, the source directory is Src/main/webapp,deploy path is/



At this point, you can use the normal publish Web project to the tomcat process to go.

Participation from: http://zk1878.iteye.com/blog/1222330



2. Single-Step debug module jar











For example, the path chosen is "F:/server-projects/qide-system/uidtraceplatform/services/modules/mod_uidcode20/src/main/java";

At this point, the corresponding source code for the MAVEN module jar has been mapped in, and when Tomcat is executed in debug mode, it can be debugged in a normal way.


Participation from: http://wwwlouxuemingcom.blog.163.com/blog/static/20974782201110178343191/



Publish Maven's multi-module Web project to Tomcat and the single-step debug module jar in 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.