Import Existing Maven in Eclipse as WTP

瘦欲@ 提交于 2019-12-07 07:36:30

问题


I had to reinstall my Eclipse and now i have to import all the existing projects into the new workspace. The previous version of Eclipse was Galileo, this version is Indigo. The plugins are installed, but after the "Import Existing Maven Project" the projects are not showing as WTP (WebApp Project)...

Do i need something else to setup or config?

Thanks a lot!


回答1:


Yes, you need to install additional software. The "Maven Integration for Eclipse WTP"

See here: http://marketplace.eclipse.org/node/96737

Update Site: http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/




回答2:


You can convert a maven project to a Eclipse WTP project. After that you only need to import the project as any other project.

The command to convert is:

mvn eclipse:eclipse -Dwtpversion=2.0


来源:https://stackoverflow.com/questions/10314750/import-existing-maven-in-eclipse-as-wtp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!