Skip to content

mvn spotless:apply failed #7640

@funky-eyes

Description

@funky-eyes

Check Ahead

  • I have searched the issues of this repository and believe that this is not a duplicate.

  • I am willing to try to fix this bug myself.

Ⅰ. Issue Description

[ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.3:apply (default-cli) on project seata-common: Execution default-cli of goal com.diffplug.spotless:spotless-maven-plugin:2.44.3:apply failed: An API incompatibility was encountered while executing com.diffplug.spotless:spotless-maven-plugin:2.44.3:apply: java.lang.NoSuchMethodError: 'java.util.Queue com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.getDiagnostics()'

Image

diffplug/spotless#2468

<palantirJavaFormat.version>2.71.0</palantirJavaFormat.version>
palantirJavaFormat needs to be upgraded to version 2.71.0 or later.

Ⅱ. Describe what happened

No response

Ⅲ. Describe what you expected to happen

No response

Ⅳ. How to reproduce it (as minimally and precisely as possible)

No response

Ⅴ. Anything else we need to know?

No response

Ⅵ. Environment

  • JDK version: 25

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions