我有一个非常简单和标准的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"}