Giter VIP home page Giter VIP logo

Comments (3)

acanda avatar acanda commented on June 30, 2024

I noticed you installed two different PMD plugins: eclipse-pmd and PMD for Eclipse.
PMD for Eclipse uses an older version of PMD which seems to cause trouble with eclipse-pmd.
If you uninstall PMD for Eclipse then this problem should go away.

You can uninstall PMD for Eclipse by selecting "Help > About Eclipse" (Windows) or "Eclipse > About Eclipse" (Mac), then clicking the button "Installation Details". In the tab "Installed Software" search for the plugin "PMD Plugin" with Id "net.sourceforge.pmd.eclipse.feature.group", select it and click on the button "Uninstall...".

Please let me know if this solved your problem.

from eclipse-pmd.

rsandidfc avatar rsandidfc commented on June 30, 2024

Hi - yes de-installing the PMD for Eclipse removes that exception - I removed both PMD for Eclipse and eclipse-pmd, then I re-added eclipse-pmd. Now I'm in a state where if I try to enable any project in the workspace with PMD, I'm unable to add any rulesets. I've tried every workspace, project, filesystem, nothing works. The dialog always says that the ruleset at whichever location is invalid and I can never click finish. There are no pmd.xml files or .eclipse-pmd files anywhere on the filesystem.

from eclipse-pmd.

acanda avatar acanda commented on June 30, 2024

You have to create a rule set (pmd.xml) yourself. The PMD website has a page explaining how to make a new rule set. The eclipse-pmd website has step by step instructions of how to set up PMD in Eclipse once you have created the rule set.

from eclipse-pmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.