NoClassDefFoundError when accessing libraries in the JRE's ext folder [message #16239] |
Wed, 13 August 2008 13:27 |
Eclipse User |
|
|
|
Originally posted by: tom.seidel.spiritlink.de
Hi,
I have a small problem with the security extension that are shipped by
the jdk. In general it's not possible to use classes which are located
in the sun/security package, so I created an access rule which grants
the bundle access to the related classes.
If I want to launch my RCP, I get the following runtime error:
java.lang.NoClassDefFoundError: sun/security/pkcs11/SunPKCS11
although the sunpkcs11.jar is located under the JRE System Library Build
Path Entry.
Does anybody know what I'm missing?
Thanks in advance,
Tom
|
|
|
Re: NoClassDefFoundError when accessing libraries in the JRE's ext folder [message #16281 is a reply to message #16239] |
Wed, 13 August 2008 16:23 |
Eclipse User |
|
|
|
Originally posted by: tom.seidel.spiritlink.de
Ok, found it. It's more an OSGi classloading issue
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=30919)
Tom Seidel schrieb:
> Hi,
>
> I have a small problem with the security extension that are shipped by
> the jdk. In general it's not possible to use classes which are located
> in the sun/security package, so I created an access rule which grants
> the bundle access to the related classes.
>
> If I want to launch my RCP, I get the following runtime error:
> java.lang.NoClassDefFoundError: sun/security/pkcs11/SunPKCS11
> although the sunpkcs11.jar is located under the JRE System Library Build
> Path Entry.
>
> Does anybody know what I'm missing?
>
> Thanks in advance,
> Tom
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03379 seconds