I was trying to create a Spring Boot 3.0.5 application, along with Java 8 in Spring Starter. Screenshot shared below
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?
No it doesn't. As Spring Boot 3 requires Java 17 or up (as clearly stated in the documentation).