You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Michel Bergijk <mi...@cmg.nl> on 2002/03/21 13:57:14 UTC

FW: NoSuchMethodError while using WSDL2Java

Hello,

While browsing through the Axis development mailing list, I saw comparable
postings like mine to the Axis user list. Does anyone care to comment on my
problem? I got the March 19 Axis Beta1 release. If I remember correctly, it
worked with Axis Alpha3 from last friday.

Regards, Michel

-----Original Message-----
From: Michel Bergijk [mailto:michel.bergijk@cmg.nl]
Sent: donderdag 21 maart 2002 10:48
To: axis (E-mail)
Subject: NoSuchMethodError while using WSDL2Java


Fellow Axis users,

While using WSDL2Java I got a NoSuchMethodError (see call and error message
below). Can anyone comment on this? 

My Classpath (using echo %classpath%):
.;C:\Apache\soap-2_2\lib\soap.jar;C:\Apache\tomcat\lib\xerces.jar;C:\Apache\
tomcat\lib\mail.jar;
C:\Apache\tomcat\lib\activation.jar;C:\Apache\axis\lib\axis.jar;C:\Apache\ax
is\lib\commons-logging.jar;
C:\Apache\axis\lib\log4j-core.jar;C:\Apache\axis\lib\tt-bytecode.jar;C:\Apac
he\axis\lib\jaxrpc.jar;
C:\Apache\axis\lib\clutil.jar;C:\wrox\lib\wsdl4j.jar

The call and error message:
C:\wrox\wroxinsurance>java org.apache.axis.wsdl.WSDL2Java -v -o
C:\wrox\provider
1\tomcat\webapps\axis\WEB-INF\classes\com\provider1 -d "Session" -s
-Nurn:Appoin
tment com\provider1
C:\wrox\wroxinsurance\tomcat\webapps\axis\WEB-INF\classes\co
m\wroxinsurance\appointment.wsdl

Parsing XML file:
C:\wrox\wroxinsurance\tomcat\webapps\axis\WEB-INF\classes\com
\wroxinsurance\appointment.wsdl
java.lang.NoSuchMethodError
        at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
        at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
        at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

With regards,

Michel Bergijk