It's been a long time since I changed the JDK version on Eclipse, and today we switched the Eclipse development environment from jdk1.7 to jdk1.8.
Because some features require a jar package provided by jdk1.8. such as: Java.util.stream.Collectors this class of loading.
First I changed the JDK version path for Eclipse to 1.8 and the build environment to 1.8.
The result throws the unsupported Major.minor version 52.0 issue because the version of the project compilation is inconsistent with the JDK version provided by Eclipse.
This requires that the JDK version of the project be replaced with the 1.8 version, and then a run error occurs with the specified JRE installation does not exist.
Online said Will window->perferences->server->installed runtimes in the deletion, re-establish services, and then run
OK, so the problem is solved. Runtime also encounters description Resource Path location Type Java compiler level does not match the version of the install ... Facets
This needs to change Properties->project Facets Java into 1.8.
It's just for the record. Well, it's time to settle down.