Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
694 views
in Technique[技术] by (71.8m points)

java - Build path specifies execution environment JavaSE-11.There are no JRE's installed in the workplace that are strictly with this environment spring boot

Installed JDK 1.8 and Spring boot suite. When I created my first project in spring boot, I got warning -Build path specifies execution environment JavaSE-11.There are no JRE's installed in the workplace that are strictly with this environment? I checked preference->java-> Installed JRE's->selected 1.8 JRE-added it and then selected JVM and selected JRE folder as JDK 1.8 folder and new name for JRE.But still the warning shows


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try checking the version in your pom.xml file. If it matches with 1.8 too and still the error shows up, then right click on your project and try maven->update. There must be some kind of option to refresh the project and refresh those dependencies.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...