-
Notifications
You must be signed in to change notification settings - Fork 10
Custom Rules built with ZPA 4.0.0 fail to load in ZPA-CLI 3.0.0 #63
Copy link
Copy link
Closed
Description
When building custom PL/SQL rules against ZPA 4.0.0 and trying to run them with ZPA-CLI 3.0.0, the CLI fails to start with a NoClassDefFoundError:
Exception in thread "main" java.lang.NoClassDefFoundError: org/sonar/plugins/plsqlopen/api/checks/PlSqlCheck
at com.company.plsql.PlSqlCustomRulesDefinition.checkClasses(PlSqlCustomRulesDefinition.java:19)
at br.com.felipezorzo.zpa.cli.Main.run(Main.kt:121)
at br.com.felipezorzo.zpa.cli.MainKt.main(Main.kt:204)
Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.plsqlopen.api.checks.PlSqlCheck
The same CLI and project setup works fine without custom rules.
The issue only appears when adding a plugin built with ZPA 4.0.0 to zpa-cli-3.0.0/plugins.
When downgrading to ZPA-CLI 2.2.0 and ZPA 3.0.0 it works fine too.
Is there a possibility that there is a isssue with the dependencies?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels