3

我有一个大问题,请你帮帮我

我使用 Spring Data R2DBC (Postgresql) 创建了 Spring Boot (2.2) Webflux 项目。一切正常,但是当我添加 Reactive Redis 依赖项时,启动 Jetty 容器,它会抛出这样的异常

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-04-03 19:52:55.444 ERROR 2332 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   : 

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

Description:

Parameter 0 of constructor in vn.com.sky.DataLoader required a bean of type 'vn.com.sky.RoleRepo' that could not be found.


Action:

Consider defining a bean of type 'vn.com.sky.RoleRepo' in your configuration.

当我删除 Reactive Redis 依赖时,一切都恢复正常

或者当我将 Spring Data R2DBC 更改为 Reacitve Mongo 时,它仍然可以正常工作。

Spring data R2DBC 是否与 Reactive Redis 冲突?

这是源代码演示

https://github.com/roboticscm/r2dbc-reactive-redis

4

0 回答 0