spring-five-functional-reactive icon indicating copy to clipboard operation
spring-five-functional-reactive copied to clipboard

I got compile error

Open altfatterz opened this issue 7 years ago • 0 comments

[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]

altfatterz avatar May 03 '17 14:05 altfatterz