第一步:配置tomcat插件
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<path>/</path><!--输入完localhost:8081之后便可以直接访问该工程 -->
<port>8081</port><!-- 指定该web工程的访问端口号 -->
</configuration>
</plugin>
第二步:设置jsp文件(web工程webapp下)模板
第三步:新建index.jsp文件(工程的默认页面)
第四步:安装taotao-parent工程
第五步:安装taotao-common工程
第六步:启动web工程
第七步:http://localhost:8081/访问工程