maven father and son project creation
1. Create a project first, this project does not need to write other code, only a pom.xml file,
2. Create modules under the project
. Except for the web layer that needs to be created with the skeleton, other dao and services do not need to use the skeleton to create keys.
Ensure that the parent project will
automatically be displayed in the pom.xml of the parent project
<modules>
<module>ssm_dao</module>
<module>ssm_service</module>
<module>ssm_web</module>
</modules>
How to start the parent-child project
1. In the parent project, you can choose the tomcat7 plug-in you bring to start
2. If you want to use the tomcat7 in the web, you need to install the parent project to the maven warehouse first, and
then use
3 to configure the local tomcat to run the project