跟着教程http://blog.csdn.net/lxfhahaha/article/details/57078994

1. tomcat测试启动

tomcat

2. mybatis-generator

tomcat

3. junit测试

tomcat