New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoSuchMethodError thrown in maven-pmd-plugin 3.18.0 (pmd 6.48.0) #4108
Comments
Please see the discussion here: https://issues.apache.org/jira/browse/MPMD-353 In short, you have the following options:
The same question was asked at https://stackoverflow.com/questions/73549816/java-lang-nosuchmethoderror-thrown-by-maven-pmd-plugin-3-18-0 Are you sure, you are using maven 3.8.6? The problem appears only if you use maven 3.5.x or 3.6.x... Please double check your maven version. |
Thanks @adangel. I can confirm using |
Will be fixed in maven-pmd-release:3.19.0 https://github.com/apache/maven-pmd-plugin/blob/master/src/site/markdown/releasenotes.md#version-3190 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
FYI - maven-pmd-plugin 3.19.0 has just been released, which contains the fix for that problem. |
Affects PMD Version: 6.48.0
Make sure, to test with the latest PMD version.
Description:
Running pmd using maven-pmd-plugin 3.18.0 throws
java.lang.NoSuchMethodError
Exception Stacktrace:
Steps to reproduce:
Please provide detailed steps for how we can reproduce the bug.
mvn pmd:check
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
Maven (Idea-bundled Maven 3.8.1)
OSX
openjdk 11.0.16 2022-07-19
The text was updated successfully, but these errors were encountered: