Strange classloading problem when using 2.0 [message #186739] |
Mon, 22 January 2007 17:32 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03109 seconds