我有一个非常简单和标准的OrderRepository:
@RepositoryRestResource(collectionResourceRel="orders", path="orders")
public interface OrderRepository extends ReactiveCrudRepository<Order, String> {
}
点击服务器后:
curl http://localhost:8080/api/orders
我收到以下回复:
{"cause":null,"message":"reactor.core.publisher.FluxOnErrorResume cannot be cast to java.lang.Iterable"}