Project facet Java version 10 not supported

Encountered Project facet Java version 1.8 not supported when using Tomcat

Solution
Change the Tomcat version and jre version. I used tomcat9 and jre1.8
steps:
1. Right-click the project and a drop-down menu will pop up to select "properties".
2. Select the java compiler option in the list.
3. Proceed to change the version 10 in jdk compliance to 1.8.
4. Then proceed to select the project facets option in the list.
5. Change the version10 in the java position in the list in the project facet to version 1.8.
6. Click OK after the setting is completed, and the option of supplier settings changed will pop up. Click yes directly.

Published 21 original articles · liked 0 · visits 721

Guess you like

Origin blog.csdn.net/D1124615130/article/details/105057071
Recommended