[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Classpath Problems working with Libs that use Reflection

The problem is, that JDom inside its SAXParser uses reflection to
instantiate that "org.apache.xerces.parsers.SAXParser". That results
in a NoClassFoundException, as the JDom plugin is not having any
dependancy to the Xerces plugin. Actually it should not have, because
the used Parser is contributable.

Try to set the ContextClassLoader before any call to JDOM. It might work this way if JDOM is using the ContextClassLoader for locating the SAXParser.

Markus Wolf
--
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
>
>> phone: (+49) 40 550 083 70
>>   web: http://www.emedia-solutions-wolf.de
>>  mail: markus@xxxxxxxxxxxxxxxxxxxxxxxx
>>   pgp: http://wwwkeys.de.pgp.net
>