Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Strange classloading problem when using 2.0
Strange classloading problem when using 2.0 [message #186739] Mon, 22 January 2007 17:32
Andrew Eberbach is currently offline Andrew EberbachFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,

I'm using the wst wsdl classes to do some processing and after moving to a
WTP 2.0 build I'm running into the following:

org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible with
javax.xml.parsers.DocumentBuilderFactory
java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible with
javax.xml.parsers.DocumentBuilderFactory
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown
Source)
at
org.eclipse.wst.wsdl.internal.impl.DefinitionImpl.createDocu ment(
DefinitionImpl.java:1926)
at
org.eclipse.wst.wsdl.internal.impl.DefinitionImpl.updateDocu ment(
DefinitionImpl.java:1918)
at
org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl.createEle ment(
WSDLElementImpl.java:1412)
at
org.eclipse.wst.wsdl.internal.impl.DefinitionImpl.createElem ent(
DefinitionImpl.java:1941)
at
org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl.updateEle ment(
WSDLElementImpl.java:1106)
at
org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl.updateEle ment(
WSDLElementImpl.java:1092)
...my stuff below

Does anyone know why this is happening? I'm on IBM JDK 1.5 and turning on
the -version:class flag shows that some classes are being picked up by the
main classloader.


Thanks,
Andrew
Previous Topic:How to deploy in tomcat webapps dir
Next Topic:How to generate static class diagram for existing project?
Goto Forum:
  


Current Time: Fri Apr 19 22:17:25 GMT 2024

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

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

Back to the top