天天看点

eclipse导入项目报错“One or more constraints have not been satisfied...“

仅供参考,反正我照这么做就处理好了。在stack overflow看到的

原出处:https://stackoverflow.com/questions/10421913/cannot-install-project-facet-error-while-creating-a-project

问题是

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.”

解决办法是

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.