I am developing a simple Java 8 project with Maven and a custom AnnotationProcessor.
If I use only the Dagger 2.15 or my AnnotationProcessor, it works well, but If I use both of them, maven build will fails with the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project MyProject: Fatal error compiling: java.lang.NoClassDefFoundError: com/google/common/util/concurrent/FluentFuture: com.google.common.util.concurrent.FluentFuture -> [Help 1]
I tried to import com.google.common.util.concurrent.FluentFuture
class from com.google.guava.guava
repository (version r05, 19.0, 24.1-jre), but it has not worked.
Project structure:
What can I do?
Thank you for your help!
I downgraded to dagger 2.14.1 and stopped getting that error.