axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jung, Eric (Contractor)" <>
Subject LinkageError
Date Tue, 13 Aug 2002 22:25:18 GMT
Hi everyone,

Java2WSDL has stopped working for me when I upgraded to Axis Beta 3. I have
tried the Beta 3 release and the nightly build dated 13 Aug 02, but get the
same results. I also tried both xerces-2_0_0 and xerces-2_0_2, but get the
same results. Bugzilla doesn't have any mention of my problem. I am using

In the mailing list archives, there was someone who had a similar problem
back in March (see, but
obviously this was before Beta 3. Unforunately, there was no resolution
posted to his problem.

Here is the stack trace when calling org.apache.axis.wsdl.Java2WSDL:

java.lang.LinkageError: loader constraints violated when linking
org/w3c/dom/Document class
  at org.apache.axis.utils.XMLUtils.newDocument(
  at org.apache.axis.wsdl.fromJava.Types.<init>(
  at org.apache.axis.wsdl.fromJava.Emitter.createTypes(
  at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(
  at org.apache.axis.wsdl.fromJava.Emitter.emit(
  at org.apache.axis.wsdl.fromJava.Emitter.emit(
  at org.apache.axis.wsdl.Java2WSDL.main(

Here is way I invoke Java2WSDL:
<java classname="org.apache.axis.wsdl.Java2WSDL">
  <arg value="-o Scheduler.wsdl"/>
  <arg value="-l"/>
  <arg value="-n urn:Scheduler"/>
  <arg value="-pcom.russellmellon.scheduler=urn:Scheduler"/>
  <arg value="com.russellmellon.scheduler.TaskManager"/>
    <fileset dir="${lib}"/>  <!-- contains all the Axis beta 3 JAR files -->
    <pathelement location="${classes}"/>  <!-- contains my classes -->

Any ideas? Thank you in advance for your suggestions,

Eric H. Jung
Software Engineer
Russell/Mellon Analytical Services
Everett, MA, USA

View raw message