error-prone icon indicating copy to clipboard operation
error-prone copied to clipboard

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile

Open ebrinktech opened this issue 2 months ago • 1 comments

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile (default-compile) on project aapp: Compilation failure

[ERROR]VehicleSyncState.java: An unhandled exception was thrown by the Error Prone static analysis plugin.

[ERROR]      Please report this at https://github.com/google/error-prone/issues/new and include the following:


[ERROR]      error-prone version: 2.38.0

[ERROR]      BugPattern: (see stack trace)

[ERROR]      Stack Trace:

[ERROR]      java.lang.AbstractMethodError: Receiver class lombok.javac.Javac$JavadocOps_8$1 does not define or inherit an implementation of the resolved method 'abstract com.sun.tools.javac.parser.Tokens$Comment stripIndent()' of interface com.sun.tools.javac.parser.Tokens$Comment.  

ebrinktech avatar Oct 28 '25 09:10 ebrinktech

java.lang.AbstractMethodError: Receiver class lombok.javac.Javac$JavadocOps_8$1 does not define or inherit an implementation of the resolved method 'abstract com.sun.tools.javac.parser.Tokens$Comment stripIndent()' of interface com.sun.tools.javac.parser.Tokens$Comment.

Looks like a Lombok-related issue to me. That stripIndent() method was apparently added in JDK 25 (https://github.com/openjdk/jdk/commit/a5d06a18762c81eda5883c07b42621278b9209c9 / https://bugs.openjdk.org/browse/JDK-8352249), so maybe you're using JDK 25 with a version of Lombok that's not yet compatible with it?

tbroyer avatar Oct 28 '25 10:10 tbroyer