Comments (4)
Hey,
SonarQube 10.5 will have the feature to only download plugins when they are required, activated by default.
It means if users move to 10.5 and still use the PMD Plugin, all analyses will start to fail with an error looking like this:
09:40:47.151 ERROR: Caused by: Error creating bean with name 'ClassRealm{pmd}-org.sonar.plugins.pmd.PmdSensor': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClassRealm{pmd}-org.sonar.plugins.pmd.PmdExecutor': Resolution of declared constructors on bean Class [org.sonar.plugins.pmd.PmdExecutor] from ClassLoader [ClassRealm{pmd}] failed; nested exception is java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/JavaResourceLocator
09:40:47.151 ERROR: Caused by: Error creating bean with name 'ClassRealm{pmd}-org.sonar.plugins.pmd.PmdExecutor': Resolution of declared constructors on bean Class [org.sonar.plugins.pmd.PmdExecutor] from ClassLoader [ClassRealm{pmd}] failed; nested exception is java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/JavaResourceLocator
The only workaround will be to deactivate the feature in the UI (search for the sonar.plugins.downloadOnlyRequired
property).
from sonar-pmd.
Related Issues (20)
- pmd-7-pmd7: upgrade from pmd 7.0.0-kotlin-SNAPSHOT to 7.0.0-SNAPSHOT
- Fix Request: Links in Sonar-deprecated PMD rules to Sonar rules don't work HOT 2
- pmd-7-pmd7: Fix integration tests after merge HOT 1
- is sonar-pmd plugin compatible with Sonarqube EE 9.4? HOT 2
- Not all pmd rules are available from sonar-pmd HOT 2
- Code Smell based on PMD rule is shown despite rule is not activated in Quality Profile HOT 7
- General Kotlin PMD7 test rule FunctionNameTooShort shows incorrectly as from PMD-jPinpoint Kotlin repository HOT 2
- Is custom PMD rule supported in sonarqube HOT 7
- PMD Apex Rules HOT 2
- can't scan java source that uses java.sql.Connection HOT 1
- System Println rule - S106 link on sonarqube UI not working ,showing blank HOT 1
- Crowd username changes - impact on sonar-pmd plugin HOT 3
- NoSuchMethodError: 'org.sonar.api.rules.RulePriority org.sonar.api.rules.RulePriority.valueOfString(java.lang.String)' HOT 1
- Request: New plugin release with PMD 6.55 HOT 5
- Custom ruleset.xml HOT 1
- Does the latest Version, 3.4.0, supports SonarQube versions 10.2 and 10.3? HOT 5
- Deprecated rules from PMD do not have status deprecated in SonarQube
- Does the latest Version, 3.4.0, supports SonarQube versions 9.9 LTS HOT 2
- Make sonar-pmd up to date with PMD 6.55, support up to java20-preview, and allow java21 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonar-pmd.