Project facet java is not supported by target runtime
Project facet Java 1.7 is not supported by target runtime Apache Tomcat v7.0.
If you see below exception in eclipse:
Project facet Java 1.7 is not supported by target runtime Apache Tomcat v7.0. (Or any other server)
- Right click project –> Properties
- On project properties window select: Project Facet –> Java
- Change java version to match your java version –> Click OK
- This will rebuild the project and resolve the issue ( Note: If your automatic build is not set then refresh your project build again – To set build project automatically please see this)