Hi all,

I've just set up a new development env for myself. While choosing the JDK
version, I found that JDK-25 has already been released, so I just
downloaded that and want to have a try.  However while packaging IoTDB
using `mvn clean package -pl distribution -am -DskipTests` commands, I got
the following error:

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

After some research, I've found that it may be because the current version
of spotless we used doesn't support JDK-25(mayve JDK-22, JDK-23, JDK-24 are
all not supported).

So if we need to skip these versions, just like we did that for jdk-8?


Best regards,
------------------------------
Yuan Tian

Reply via email to