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