Java compiler level does not match the version of the installed Java project facet




Asked on July 11, 2018
Hi, I am creating Servlet project using Eclipse oxygen + Java 9. There is an error in Eclipse Markers tab

Error:
Java compiler level does not match the version of the installed Java project facet.

There is no errors in Java files. How to fix it?



Replied on July 11, 2018
Follow the steps:

1. Right click on the project -> Properties -> Project Facets

2. Select the Java version you are using, in your case, select 9 (not 1.9)

3. Apply and close






Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us