spring-five-functional-reactive
spring-five-functional-reactive copied to clipboard
I got compile error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project spring-five-functional-reactive: Compilation failure
[ERROR] /Users/Zoltan/projects/spring-five/spring-five-functional-reactive/src/main/java/de/olivergierke/examples/spring5/DemoApplication.java:[88,41] method then in class reactor.core.publisher.Mono<T> cannot be applied to given types;
[ERROR] required: reactor.core.publisher.Mono<V>
[ERROR] found: repository[...]dById
[ERROR] reason: cannot infer type-variable(s) V
[ERROR] (argument mismatch; reactor.core.publisher.Mono is not a functional interface)
[ERROR] -> [Help 1]
[ERROR]