Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » did you found a solution for the jdom/eclipse plugin problem ?
did you found a solution for the jdom/eclipse plugin problem ? [message #81322] Tue, 24 June 2003 08:00
Eclipse UserFriend
i have the same problem and tracked it down to the following jaxb method
called from inside jdom:
XMLReaderFactory.createXMLReader ("org.apache.xerces.parsers.SAXParser");
which in turn calls
XMLReader test = (XMLReader)
NewInstance.newInstance("org.apache.xerces.parsers.SAXParser ");
which finaly fails due to some obscure classloader problem.

i guess that there is some conflict between jdk1.4.1's jaxb and
eclipse's jaxb implementation (which comes with eclipses the xerces
plugin).

but still don't know, how to solve it.
bodo


this call fails to deliver the
Jonathan schrieb:
> Thanks. My plugin.xml section w/ jdom now looks like:
>
> <runtime>
> <library name=\"treeviewtest.jar\"/>
> <library name=\"jdom.jar\" type=\"resource\">
> <export name=\"*\"/>
> </library>
> </runtime>
>
> And in the Runtime tab of the PDE, Run-time libraries lists
> treeviewtest.jar and jdom.jar.
>
> Library Content is empty.
>
> Library Type is \"resources only\" when jdom.jar is selected.
>
> Library exporting is \"Export the entire library\" when jdom is selected.
>
> Is that all I have to do? I still get the same error.
>
> Thanks,
> Jonathan
>
>
> Renaud Waldura wrote:
>
>
>>Your library needs to be on the plug-in\'s classpath. Edit plugin.xml
with
>>PDE and add your library in the Runtime tab.
>
>
>>Your plug-in then needs to ship with that library.
>
>
>
>
>>\"Jonathan\" <jbarnes@rayva.org> wrote in message
>>news:bcd1ap$nk6$1@rogue.oti.com...
>>
>>>I\'ve been using eclipse 2.1 for the past month and a half and its a
cool
>>>tool. I\'ve created a plugin, and when I execute it, I get the
following
>>>error:
>>>
>>>java.lang.NoClassDefFoundError: org/jdom/JDOMException
>>>
>>>I\'ve put the jdom.jar in the classpath, project\'s Java Build Path
in the
>>>Libraries tab, even copied it to the jre/lib/ext directory with no
>>
>>success.
>>
>>>Is there any way to get eclipse, or is it the JRE?, to recognize third
>>>party jars?
>>>
>>>Thanks,
>>>Jonathan
>>>
>>>
>
>
>
>
>
>
Previous Topic:What tool for UML diagrams ?
Next Topic:listening to custom views
Goto Forum:
  


Current Time: Tue Jul 22 01:45:16 EDT 2025

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

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

Back to the top