You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new SpringBoot project in SpringToolSuite4 and selected Java 11 as the perfered JDK.
However, Spring Initializr overrode my selection and created the project using Java 17.
Running the project produces the following error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/springframework/boot/SpringApplication has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Overriding selected JDK; Is this a bug?
The text was updated successfully, but these errors were encountered:
AAdewunmi
changed the title
Exception in thread "main" java.lang.UnsupportedClassVersionError -> SpringToolSuite4
Exception in thread "main" java.lang.UnsupportedClassVersionError ...
Nov 28, 2022
They can't be removed as they're supported with other versions of Spring Boot. spring-io/start.spring.io#250 is tracking some improvements in this area.
Hi,
I created a new SpringBoot project in SpringToolSuite4 and selected Java 11 as the perfered JDK.
However, Spring Initializr overrode my selection and created the project using Java 17.
Running the project produces the following error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/springframework/boot/SpringApplication has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Overriding selected JDK; Is this a bug?
The text was updated successfully, but these errors were encountered: