Eclipse导入Maven项目
1、File->Import->maven->Existing Maven Projects
2、右键项目属性,打开Project Facets,将Dynamic Web Module,Java,JavaScript打上勾
3、右键项目属性,打开Deployment Assembly,依次选择Add->Java Build Path Entries->Maven Dependencies
4、安装tomcat,新建Web Server,右键项目 Run AS,选择Run on Server