Error "Failed to set the project face" when creating a project?

I got the project from the repository, and in accordance with the setup instructions, I tried to create the project in eclipse and indicated the place where I downloaded the code from the repository. Then, when I click on the finish, I received an error message

"One or more of the restrictions has not been met. It is not possible to set the face of a Java 1.6 project. Some version of this project grant is already installed. It is not possible to set the face of a Dynamic Web Module 3.0 project. Some version of this project grant is already installed.

How to solve this problem?

+6
source share
2 answers

I solved it. The solution is that I have to go to the ".settings" folder located in the project location and delete the file "org.eclipse.wst.common.project.facet.core.xml" and restart this process again. This time it worked. Thank you for your help.

+13
source

There is no need to delete the file and recreate it. Instead, go to the org.eclipse.wst.common.project.facet.core.xml file in your project on eclipse and change the installed facet tag to any version you need.

0
source

Source: https://habr.com/ru/post/914753/


All Articles