本文介绍了Spring Boot Data Rest 不支持反应式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
因此,该错误记录在日志中
So, that error got in log
ERROR 15340 --- [nio-8086-exec-9] o.s.d.r.w.RepositoryRestExceptionHandler :
reactor.core.publisher.FluxOnAssembly cannot be cast to java.lang.Iterable
通过spring initialize创建一个项目:Reactive web、data-rest、data-rest-hal-browser、reactive-mongodb.当我尝试使用数据休息路由器时,出现错误.在我看来,发生这种情况,因为数据休息不支持反应式.有人可以告诉如何解决这个问题吗?
Create a project by spring initialize: Reactive web, data-rest, data-rest-hal-browser, reactive-mongodb. When i try using data-rest router's i got error. In my opinion that happen, cuz data-rest don't support reactive. Can someone told how fix that?
推荐答案
还没有,看票 [DATAREST-933]
这篇关于Spring Boot Data Rest 不支持反应式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!