Project facet Java version 1.8 is not supported. Detailed error resolved

After the other project into eclipse in its own, or have a red cross, forced to run will be prompted for the "Project facet Java version 1.8 not supported" error. This is because the java version inconsistencies caused, jdk version is not the same. To change it before it.

Error description

Import Project, appears " Project facet IS not the Java Version 1.8 Supported. "

Solution

A law

Select the item, right-click> Properties> Project Facets> java row, modified version> application and save the changes

Act II

Select the item, right-click> Properties> Java Compiler> jdk compliance in the 1.8 version instead, select 1.7> application and save the changes

Act III

There are items in the catalog .settings a folder, there is a org.eclipse.wst.common.project.facet.core.xml files in this folder, open amended as <installed facet = "java" version = "1.7 "/>

Published 141 original articles · won praise 204 · Views 1.18 million +

Guess you like

Origin blog.csdn.net/qq_36838191/article/details/104074083
Recommended