使用eclipse制作war包方法 web项目打包到tomcat
1、打开eclipse在左侧右击项目名选择“Export”

3、点击“Browse…”选择文件的导出位置,Target runtime 运行环境选择 tomcat的版本 点击 Finsh

5、将生成的war文件放到 tomcat的安装目录/webapps里面

1、打开eclipse在左侧右击项目名选择“Export”
3、点击“Browse…”选择文件的导出位置,Target runtime 运行环境选择 tomcat的版本 点击 Finsh
5、将生成的war文件放到 tomcat的安装目录/webapps里面