A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/732 below:

[java] LinkageError with aux classpath · Issue #732 · pmd/pmd · GitHub

There is one integration test with the maven-pmd-plugin, that fails with PMD 6.0.0: It uses the aux classpath (maven dependency scope test) and should detect a subclass of JUnit's TestCase, which has no test methods.

It seems, we load some classes twice. Error Message:

Could not find class it.TestSupport, due to: java.lang.LinkageError: loader (instance of net/sourceforge/pmd/util/ClasspathClassLoader): attempted duplicate class definition for name: "org/custommonkey/xmlunit/XMLTestCase"

Since we couldn't determine the type of TestSupport, we didn't figure out that the class NoTestsHere is actually a TestCase, too, and do not report the violation.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4