问题
When i update my java I found the issue "Project facet Java version 1.7 is not supported" To resolve this issue follow the steps.
- Go to Ecllipse , right click on your project folder
- select the properties
- now select Project Facets ,here you will see java, click on the version and change the higher version to lower or as per your requirement .

回答1:
You need to check what type of JRE is there installed in your IDE,

回答2:
I had also encountered the same problem a while ago when upgrading from Java version 1.6 to 1.7. To resolve this I followed below steps.
- Right Click on the Project on Project Explorer and click on Properties.
- Navigate to Java Build Path > “Libraries”
- Delete any conflicted libraries which have red cross mark on the icons.
- Check & edit if necessary the JRE System Library Jars.
- Navigate to Project Facets and select the required java version.
Source: https://tipandtech.wordpress.com/2013/09/13/error-project-facet-java-version-1-7-is-not-supported-in-eclipse/
Try them if you have not found the solution yet.
Shishir
回答3:
I've just had the same thing. My solution was to remove the 1.6 JRE in Installed JRE's and tick the Java 1.7 one.
This can be found in Window --> Preferences --> Java --> Installed JRE's
Just as Boopathi says.
回答4:
Double click the Tomcat server->run time environment->installed jre->select jdk 1.7
回答5:
Change the jre pointed by your server(tomcat or anything...) point to a JDK instead of JRE
回答6:
Check for the version of JDK in Window --> Preferences -->Java compiler and then set the same JDK in Window --> Preferences -->Project Facets -->Java
回答7:
1.Window Menu -> Preferences 2.On the left, select Server -> Runtime Environments 3.Highlight The server you want for your project and select the “Edit…” button 4.On the “Edit Server Runtime Environment” dialog, change the JRE to be a Java 7 JDK or JRE. 5.Rebuild your project and the error should go away.
回答8:
When I ran into this same issue, I resolved it by changing work space.
来源:https://stackoverflow.com/questions/19832348/project-facet-java-version-1-7-is-not-supported