Skip to main content

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

The old behavior is  org.osgi.framework.bootdelegation=*

This is changed because of requirement of the OSGi Release 4
Specification.



-Pavlin


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

TM> /Toni

TM> -------- 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
TM> _______________________________________________
TM> equinox-dev mailing list
TM> equinox-dev@xxxxxxxxxxx
TM> https://dev.eclipse.org/mailman/listinfo/equinox-dev


TM> __________ NOD32 2540 (20070919) Information __________

TM> This message was checked by NOD32 antivirus system.
TM> http://www.eset.com






Back to the top