Summary: | Compile error: NoClassDefFoundError thrown: Could not initialize class org.aspectj.weaver.bcel.ClassPathManager$JImageEntry | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Dmitriy Kosolobov <dima> |
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | aclement, dima, stephan.herrmann, vasili.gulevich |
Version: | unspecified | ||
Target Milestone: | 1.9.2 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Dmitriy Kosolobov
2018-08-03 14:32:24 EDT
Happens on Linux when trying to build Eclipse plugins of RCPTT Runtime. Are you possibly passing a classpath with a jrt-fs.jar entry when working on a JDK less than 9? I can imagine that would cause this. Rather then ignoring jrt-fs.jar we assume you passed it because you are working on Java9+ and attempt to use the JDK to work with it - if the JDK is in fact Java8 or lower we will not find those JDK classes and I think that could cause initialization problems in JImageEntry. Actually I see what could be happening here, it is perhaps because the filesystem initialization is done in static initialization of the class rather than when actually required. Changed it around. |