怎么把myeclipse项目导入IDEA中

先把myeclipse下的项目拷贝到IDEA的部署目录中,把一些不用的配置文件删除,只留下一个干净的项目

  怎么把myeclipse项目导入IDEA中

 

打开IDEA,点击import Project,引入一个项目,选择IDEA部署目录下刚拷贝过去的项目

怎么把myeclipse项目导入IDEA中

 

 点击创建一个新的项目,然后下一步

怎么把myeclipse项目导入IDEA中

怎么把myeclipse项目导入IDEA中

怎么把myeclipse项目导入IDEA中

把jar包引入进来

怎么把myeclipse项目导入IDEA中

怎么把myeclipse项目导入IDEA中

选择jdk版本

怎么把myeclipse项目导入IDEA中

IDEA自动寻找到在WebRoot下面的WEB-INF下面的web.xml文件加载进来

怎么把myeclipse项目导入IDEA中

点击下一步后就把项目引入到IDEA中来,然后进行配置

怎么把myeclipse项目导入IDEA中

点击File-->Project Structure-->Artifacts

怎么把myeclipse项目导入IDEA中

加载tomcat的依赖jar包  Project Structure-->Modules-->Dependencies点击+号:

怎么把myeclipse项目导入IDEA中

点击OK就好了,然后配置tomcat

怎么把myeclipse项目导入IDEA中

 

 改下tomc的名字,在选择tomcat的路径

怎么把myeclipse项目导入IDEA中

怎么把myeclipse项目导入IDEA中

到这来就配置完成了,就可以点击启动