In the latest version of Checkstyle (13.9.0), they removed the class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck (see this issue)
The current src/checkstyle/checkstyle.xml includes this check, so whenever I run the newest version of checkstyle with the configuration file from spring-javaformat, I get the following error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.6.0:check (default-cli) on project group-management-api: Execution default-cli of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.6.0:check failed: cannot initialize module com.puppycrawl.tools.checkstyle.TreeWalker - cannot initialize module com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck: Unable to instantiate 'com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck' class, it is also not possible to instantiate it as null. Please recheck that class name is specified as canonical name or read how to configure short name usage https://checkstyle.org/config.html#Packages. Please also recheck that provided ClassLoader to Checker is configured correctly. -> [Help 1]
The only way to fix this is to remove the check from the configuration file. The linked issue above mentions what checks could replace the check that has been removed.
In the latest version of Checkstyle (13.9.0), they removed the class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck (see this issue)
The current src/checkstyle/checkstyle.xml includes this check, so whenever I run the newest version of checkstyle with the configuration file from spring-javaformat, I get the following error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.6.0:check (default-cli) on project group-management-api: Execution default-cli of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.6.0:check failed: cannot initialize module com.puppycrawl.tools.checkstyle.TreeWalker - cannot initialize module com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck: Unable to instantiate 'com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck' class, it is also not possible to instantiate it as null. Please recheck that class name is specified as canonical name or read how to configure short name usage https://checkstyle.org/config.html#Packages. Please also recheck that provided ClassLoader to Checker is configured correctly. -> [Help 1]The only way to fix this is to remove the check from the configuration file. The linked issue above mentions what checks could replace the check that has been removed.