|Class not found, export only problem [message #811452]
||Fri, 02 March 2012 06:06
| Barbara Rosi-Schwartz
Registered: July 2009
I am generating a bundle from a third party jar using the Maven Bundle plugin. When I look at the contents of the jar, I can see that my class of interest is in the jar. The Manifest correctly exports the package to which the class belongs.|
However, when I unleash my bundle in my Virgo kernel, a NoClassDefFoundException occurs on that class when I request it from another bundle, which correctly imports the package.
If I use the handy Virgo commands clhas, clload and clexport, I can see that the class is not found in any bundle and cannot loaded by any bundle; as for exporting, I am told that it is correctly exported and imported by the bundles I expect, but it tells me "class not found, export only" from the specific bundle that exports it.
Any idea as to what this might mean?
Powered by FUDForum
. Page generated in 0.01609 seconds