0
  • No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

Actually, I'm running JDK both on STS, both on Eclipse.

I deleted .metadata directory under STS and Eclipse workspace, than restart STS, but the same error comes up..

enter image description here

jaraipali
  • 41
  • 2
  • 8
  • It doesn't matter what you have configured in Eclipse. You're trying to run Maven from command line, which needs a proper JDK in the necessary paths. Is the JDK part of the PATH variable? – dunni Jul 18 '17 at 12:08
  • @dunni Yes it is. – jaraipali Jul 18 '17 at 12:17
  • But if I try to run it on STS, (Run as Spring Boot App) i got this: Error: Could not find or load main class org.training.reservations.SpringReservationsApplication – jaraipali Jul 18 '17 at 12:26
  • Add `JAVA_HOME` to system variables with path like `C:\Program Files\Java\jdk1.8.0_131`, and try to run again. And try this answer https://stackoverflow.com/a/21279068/5229041 – maydawn Jul 18 '17 at 20:10
  • Now I got this: No plugin found for prefix 'spring boot' in the current project and in the plugin groups – jaraipali Jul 19 '17 at 13:54

0 Answers0