1 设置Project Structure Project sdk 中设置jdk 2 添加module 3 添加tomcat 4 添加Libraries 5 添加Artifacts,配置发布到tomcat的webapps路径下 修改到tomcat的