[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] ClassNotFoundException with org.eclipse.osgi_3.3.0.v20070530

Usually you should import everything other than java.*
(so add javax.xml.xpath, javax.crypto to your Import-Package directive)
Check your org.osgi.framework.bootdelegation property. Usually equinox delegates everything to the bootclasspath (where javax resides) for historical reasons. But this behaviour is going to change and might have changed already in 3.3..


-------- Original-Nachricht --------
> Datum: Wed, 19 Sep 2007 12:47:10 +0200
> Von: Tony Seebregts <tony.seebregts@xxxxxxxxx>
> An: equinox-dev@xxxxxxxxxxx
> Betreff: [equinox-dev] ClassNotFoundException with	org.eclipse.osgi_3.3.0.v20070530

> Hi,
> I'm getting a class not found Exception for (some) javax classes when
> using the latest Equinox release (org.eclipse.osgi_3.3.0.v20070530.jar)
> - specifically:
> ERROR: java.lang.NoClassDefFoundError: javax.xml.xpath.XPathFactory
> ERROR: java.lang.NoClassDefFoundError: javax.crypto.KeyGenerator
> When I switch back to an earlier (3.2) release the problem goes away -
> the environment is identical in both cases, all that changes is the
> org.eclipse.osgi jar file.
> If anybody has any ideas or can point me in the right direction it would
> be really appreciated.
> regards
> Tony Seebregts
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev