“Cannot install project facet” error while creating a project?

 ̄綄美尐妖づ 提交于 2020-01-14 09:32:07

问题


I got the project from repository and as per the set-up instructions I tried to create a project in eclipse and pointed the location to where I downloaded the code from repository. Then when I click on finish I got the error stating

"One or more constraints have not been satisfied. Cannot install project facet Java 1.6. Some version of this project facet is already installed. Cannot install project facet Dynamic Web Module 3.0. Some version of this project facet is already installed."

How to solve this one?


回答1:


I resolved this one. The solution is I have to goto to the ".settings" folder which is at the project location and deleted "org.eclipse.wst.common.project.facet.core.xml" file and restarted the process again. This time it worked. Thanks for your help.




回答2:


There is no need to delete the file and recreating again. Instead navigate org.eclipse.wst.common.project.facet.core.xml file in ur project on eclipse and change its installed facet tag with whatever version desired.



来源:https://stackoverflow.com/questions/10421913/cannot-install-project-facet-error-while-creating-a-project

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