相关疑难解决方法(0)

如何修复“考虑在您的配置中定义类型为 'org.jooq.DSLContext' 的 bean。” 更新到 jOOQ 3.15.0 后

在我的 Vaadin 和 Spring Boot 应用程序中,我已从 jOOQ 3.14.12 更新到 3.15.0。此更新后,我的应用程序不再启动。这是我得到的错误:

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of constructor in org.komunumo.data.service.MemberService required a bean of type 'org.jooq.DSLContext' that could not be found.


Action:

Consider defining a bean of type 'org.jooq.DSLContext' in your configuration.
Run Code Online (Sandbox Code Playgroud)

我不明白为什么我必须定义这个 bean,因为使用 jOOQ 3.14.12 我没有必要。据我所知,这是JooqAutoConfiguration自动完成的。

spring jooq spring-data spring-boot r2dbc

7
推荐指数
1
解决办法
440
查看次数

标签 统计

jooq ×1

r2dbc ×1

spring ×1

spring-boot ×1

spring-data ×1