In recent changelog commits, it shows that jOOQ updated to 3.20 within springboot 4.1.x series. Which is a clue that it require java21 As Min Requirement. Also if you are planing to use java 25 in for both springboot 3.x , 4.0.x , 4.1.x versions don't forget to use these requirements :
Maven : 3.9.12 or newer versions
maven-compiler-plugin : 3.15.0 or newer versions
Gradle : 9.1.0 or newer versions ( 9.3.1 or above recommended )