0

I have created a New Dynamic Project under Eclipse Kepler Version, where my JRE Version is set to 1.8.

Java compiler set to 1.8

After setting the JRE version to 1.8 got the below exception.

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

I have checked the Project facet set to 1.7. I changed it to 1.8 by changing in this file org.eclipse.wst.common.project.facet.core.xml.

After changing version of java in the above file got another warning : implementation of version 1.8 of project facet java could not be found

I found one link which has the almost same issue but not able to solved my issue : Java compiler level does not match the version of the installed Java project facet

How to solved this issue?

Community
  • 1
  • 1
Shiladittya Chakraborty
  • 4,138
  • 7
  • 42
  • 83

1 Answers1

0

There is an official bug report/patch for Kepler SR2. It also works with Spring Tool Suite 3.5.0.RC4 (which is based on Kepler). It should work for Luna too.

Bug report : https://bugs.eclipse.org/bugs/show_bug.cgi?id=430637 (see comment #12)

Update site for the Java 8 facet : http://download.eclipse.org/webtools/patches/drops/R3.5.2/P-3.5.2-20140329045715/repository

look in to

Version 1.8 of project facet java does not exist

Community
  • 1
  • 1
Zia
  • 1,122
  • 11
  • 24
  • http://stackoverflow.com/questions/7715260/java-compiler-level-does-not-match-the-version-of-the-installed-java-project-fac – Zia Jan 06 '16 at 06:11
  • Java 8 Facets link not working. I am not able to download the available patch from the provided link. – Shiladittya Chakraborty Jan 06 '16 at 06:12
  • http://devblog.virtage.com/2013/02/eclipse-error-java-compiler-level-does-not-match-the-version-of-the-installed-java-project-facet/ – Zia Jan 06 '16 at 06:13
  • http://howtodoinjava.com/2013/06/04/solved-java-compiler-level-does-not-match-the-version-of-the-installed-java-project-facet/ – Zia Jan 06 '16 at 06:13