在导入war文件之前首先要你新建一个同名Web项目:(比如:webPorject)然后在Myeclipse中: 在File===》import==》General中选择Archive File,将会弹出对话框 ====>在Form archive file中选择你要导入的项目.war(若识别不了war文件,则将war文件后缀名改为.jar) =====>全选 =====>导入你新建立的项目 点击Finish 参考网友:http://blog.sina.com.cn/s/blog_77500e1101011hb1.html