第一步:选中需要打包的项目右键选中Export..
[img]http://dl2.iteye.com/upload/attachment/0102/8471/58e8b866-362e-35ac-9139-e35d9472c0e8.png[/img]
第二步:找到web文件夹选中-->WAR file下一步
[img]http://dl2.iteye.com/upload/attachment/0102/8473/b47e9dfc-5c44-36b2-a377-c51423d9c013.png[/img]
第三步:点击Browse...按钮
[img]http://dl2.iteye.com/upload/attachment/0102/8476/4c5c5aae-60ff-3ed2-b520-5d95683b1ae5.png[/img]
第四步:选中导出的路径并给个命名 war包导出OK
[img]http://dl2.iteye.com/upload/attachment/0102/8478/669939dd-4ee3-30a3-8188-ea2673dcce4d.png[/img]
第五步:赋值war包丢入 tomcat的webapps文件夹下
[img]http://dl2.iteye.com/upload/attachment/0102/8484/dbfa43f7-9c35-3999-8bc0-786ea6bd943d.png[/img]
第六步:启动tomcat 不报错就可以运行项目了
[img]http://dl2.iteye.com/upload/attachment/0102/8486/529685d4-dfed-393e-b7e1-33bfeea00eca.png[/img]
[img]http://dl2.iteye.com/upload/attachment/0102/8471/58e8b866-362e-35ac-9139-e35d9472c0e8.png[/img]
第二步:找到web文件夹选中-->WAR file下一步
[img]http://dl2.iteye.com/upload/attachment/0102/8473/b47e9dfc-5c44-36b2-a377-c51423d9c013.png[/img]
第三步:点击Browse...按钮
[img]http://dl2.iteye.com/upload/attachment/0102/8476/4c5c5aae-60ff-3ed2-b520-5d95683b1ae5.png[/img]
第四步:选中导出的路径并给个命名 war包导出OK
[img]http://dl2.iteye.com/upload/attachment/0102/8478/669939dd-4ee3-30a3-8188-ea2673dcce4d.png[/img]
第五步:赋值war包丢入 tomcat的webapps文件夹下
[img]http://dl2.iteye.com/upload/attachment/0102/8484/dbfa43f7-9c35-3999-8bc0-786ea6bd943d.png[/img]
第六步:启动tomcat 不报错就可以运行项目了
[img]http://dl2.iteye.com/upload/attachment/0102/8486/529685d4-dfed-393e-b7e1-33bfeea00eca.png[/img]