1、打开IDEA,file-->new-->project,代开new project界面
2、选择maven,勾上Create from archetype,选择maven-archetype-webapp,点击next.
3、填写GoupId和ArtifactId,点击next.
4、选择本地创建的maven库的配置文件settings.xml和本地仓库repository,点击next
5、自定义项目名称,点击finish
6、点击import Changes或Enable Auto-import
7、点击add Configuration,配置tomcat
8、启动Tomcat,访问: