javaspring-bootcompatibilityspring-starter

Does Spring 3.0.x support Java 8? In Spring Starter I found sourceCompatibility = '17' default for 3.0.x and above


I was trying to create a Spring Boot 3.0.5 application, along with Java 8 in Spring Starter. Screenshot shared below

Spring Starter page

Post which I checked the Explore button which helps in identifying what code will look like.

However, I found

sourceCompatibility = '17'

I did not expect that as I had selected Java 8 in above screen. Am I missing something here?

Explore window


Solution

  • No it doesn't. As Spring Boot 3 requires Java 17 or up (as clearly stated in the documentation).