-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
When trying to add the below ruleset, I'm getting the following error:
The selected file/URL is not valid for PMD 7. PMD: Cannot load ruleset category/plsql/bestpractices.xml: cannot resolve rule/ruleset reference 'category/plsql/bestpractices.xml'. Make sure the resource is a valid file or URL
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="My Rules"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<rule ref="category/plsql/bestpractices.xml" />
<rule ref="category/plsql/codestyle.xml" />
<rule ref="category/plsql/design.xml" />
<rule ref="category/plsql/errorprone.xml" />
<rule ref="category/jsp/bestpractices.xml" />
<rule ref="category/jsp/codestyle.xml" />
<rule ref="category/jsp/design.xml" />
<rule ref="category/jsp/errorprone.xml" />
<rule ref="category/jsp/security.xml" />
</ruleset>
Note: I have tried without the first reported rule, without PL/SQL rules and with single rules as well, but got the same result.
Plugin version: 2.0.9
IntelliJ version: 2025.2.2
Metadata
Metadata
Assignees
Labels
No labels