'Compiler compliance specified is 11 but a JRE 15 is used warning spring boot suite?
Installed JDK 1.8 and Spring boot suite. When I created my first project I got warning showing Compiler compliance specified is 11 but a JRE 15 is used in spring boot suite? I checked preference->java-> Compiler and set it as 1.8. But still the warning shows
Solution 1:[1]
For removing this error, right click on JRE System library and then click on properties at the exact bottom then change the execution environment to 15, then finally apply and close it,Warning will be removed.
Solution 2:[2]
This is what I did & it worked. I checked the Eclipse features and verified the JDK is 15 but not 11. Since my SPring boot suite's internal JDk is 15, I had to download JDK 11 and add it to the JRE in Build path
Solution 3:[3]
In Eclipse from your project:
- Right-click on your project
- Click Properties
- Java Compiler: compiler compliance level. Select the new "11" and apply the changes.
Solution 4:[4]
I had the same problem recently, I show you the steps I followed to solve it:
- Secondary button on the project
- Properties
- Java Compiler
- Check "Enable project specific settings"
- Adjust Compiler compliance level to the version number that is claiming you, for example if you are using JRE 15 you leave this combo box at 15
- Apply and Close
This solved my problem, good luck!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Siddhartha Bhadauriya |
| Solution 2 | sunitha |
| Solution 3 | oklm |
| Solution 4 | Jeevan Rupacha |
