Issue
Im trying to make sample Dynamic web project on eclipse Version: 2021-03 (4.19.0).
the project build and run correctly but im getting this error in marker :
"Java compiler level does not match the version of the installed Java project facet.Unknown Faceted Project Problem (Java Version Mismatch)"
Also im using JDK16. Things ive done to resolve the problem without any hope till now:
1-changing project java version in project facet :
2- installing java version 11 and change the %JAVA_HOME% in environment variable.
3- change the installed jre location in eclipse :
Solution
Thanks to @howlger suggestion , by changing the default java version in Project facet to 15 , the error disappeared :
Answered By - Ahad Porkar