Skip to content

spring-jvm

2 Posts

Spring Boot NoSuchMethodError From Mixed Spring Jar Versions

NoSuchMethodError in a Spring Boot app almost always means two Spring versions on one classpath. Find the jar that actually loaded, the override that put it there, and let the BOM own every version again.

Spring Boot 3 Requires Java 17: UnsupportedClassVersionError Fix

UnsupportedClassVersionError with class file version 61.0 means a Java 11 or older JVM met Spring Boot 3. Find which JVM it was (IDE, Maven, Gradle, CI or the Docker image) and pin all of them to 17 or later.