The MAVEN multi-module project is hot-deployed under Eclipse, where you can experience the code for any module in the entire project, without the need for MAVEN packaging to see the effect,
1, first ready to create a MAVEN multi-project code, ready an eclipse, a tomcat, what Java environment, Tomcat environment I will not say, if you do not have the right to look down,
2, create the project, MVN archetype:generate-dgroupid=com.laoshuisheng-dartifactid=test-dversion=1.0
After the success of the creation of the Pom.xml file to modify the Pom.xml
View Plain Project xmlns= "http://maven.apache.org/POM/4.0.0" xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > < Modelversion>4.0.0</modelversion> <groupId>com.laoshuisheng</groupId> <artifactid>te St</artifactid> <version>1.0</version> <packaging>jar</packaging>