cowwoc commented on PR #395: URL: https://github.com/apache/maven-build-cache-extension/pull/395#issuecomment-3462884318
I attempted to run `mvn spotless:apply` but encountered a Java 25 compatibility issue with the Palantir Java formatter: ``` java.lang.NoSuchMethodError: 'java.util.Queue com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.getDiagnostics()' ``` The error occurs when trying to format `BuildCacheMojosExecutionStrategyTest.java`. This is a known incompatibility between Palantir Java formatter (used by spotless) and Java 25. Options: 1. Run spotless with Java 17/21 (recommended) 2. Upgrade to a newer version of Palantir formatter that supports Java 25 3. Manually format the affected file Could you run `mvn spotless:apply` with Java 17 or 21, or would you like me to attempt a manual fix? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
