配置Tomcat Server
1.Ctrl+Alt+s或者File——>Setting...;选中“Application Servers”点击"+"
创建运行配置
上面的“RoundTrip:war exploded”是在Project Structure——>Artifacts中添加的