进入 maven projects 界面 找到Plugins => war => war:war 工具,双击执行 提示成功后,进入项目找到 target 文件夹 将war包取出,放到tomcat的webapp下,运行tomcat就可以了 相关文章: