Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » ClassNotFoundException with classes inside jre/lib/ext
ClassNotFoundException with classes inside jre/lib/ext [message #585773] Tue, 25 November 2008 12:15
Eclipse UserFriend
Originally posted by: massimiliano.ziccardi.gmail.com

Hi All.

I'm quite new to eclipse plugins.

I wrote a plugin and had no problem.
Now I need to use some BouncyCastle classes, so I added the
bouncycastle jars inside the jre/lib/ext directory and configured the
provider inside the java.security file.

In my RCP.product file, I configured the JRE Name (Launching TAB) so
that my JRE with Bouncycastle will be embedded inside my product.

I've exported the application and verified that the jre/lib/ext is ok:
it's ok.

However, when I execute some of my plugin functions, I get this:

java.lang.NoClassDefFoundError:
org/bouncycastle/jce/provider/BouncyCastleProvider
at
it.intesa.tstation.plugins.etsi.keystore.pkcs12.preferences. P12ConfigDialogContent$2.widgetSelected(P12ConfigDialogConte nt.java:101)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
.....

and, the important part (I think):

Caused by: java.lang.ClassNotFoundException:
org.bouncycastle.jce.provider.BouncyCastleProvider
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )


Do you have any idea about what I miss?

Thanks in advance,
Massimiliano Ziccardi
Previous Topic:Remove action from ToolBarManager
Next Topic:Common Navigator in RCP
Goto Forum:
  


Current Time: Mon Sep 27 11:27:46 GMT 2021

Powered by FUDForum. Page generated in 0.01486 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top