spring-gradle-plugins / dependency-management-plugin

A Gradle plugin that provides Maven-like dependency management functionality
686 stars 85 forks source link

Spring Boot 2.7.0 has incompatible org.jooq:jooq:{jooq.version} #323

Closed minseokLim closed 2 years ago

minseokLim commented 2 years ago

Since SpringBoot 2.7.0, SpringBoot has depended on 'com.h2database:h2:2.1.212'. 'org.springframework.boot:spring-boot-starter-jooq:2.7.0' depends on 'org.jooq:jooq:3.14.15'. However, 'org.jooq:jooq:3.14.15' doesn't support 'com.h2database:h2:2.1.212'. Please check here

So, whenever I try to generate codes with jooq, I can find these kinds of exceptions. image

Please change the version of jooq in spring-boot-starter-jooq, and check the compatibility.

minseokLim commented 2 years ago

It just occurred to me that this might be a problem of JOOQ, not Spring Dependency, because they say 'Minimum version' in here. It's confusing, because I'm not sure that JOOQ can solve this problem. Anyway, to deal with this problem, I'm going to use SpringBoot 2.6.8 right now.

wilkinsona commented 2 years ago

Duplicates https://github.com/spring-projects/spring-boot/issues/31168.