You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/06 16:37:32 UTC
[jira] Closed: (AXISCPP-160) Exception in thread "main" java.lang.NoSuchMethodError:
Message:
The following issue has been closed.
Resolver: John Hawkins
Date: Wed, 6 Oct 2004 7:37 AM
This is the classpath problem as described in AXISCPP-173.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-160
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-160
Summary: Exception in thread "main" java.lang.NoSuchMethodError:
Type: Bug
Status: Closed
Priority: Major
Resolution: DUPLICATE
Project: Axis-C++
Components:
WSDL processing
Versions:
current (nightly)
Assignee: John Hawkins
Reporter: Eyjolfur Eyjolfsson
Created: Sat, 18 Sep 2004 11:00 AM
Updated: Wed, 6 Oct 2004 7:37 AM
Environment: Windows.
Description:
When running wsdl2ws for c++ in Windows I get:
c:\sun\appserver\jdk\bin\Java
-classpath C:\AXIS\lib\axisjava\axis.jar;C:\AXIS\lib\axisjava\commons-discovery.jar;
C:\AXIS\lib\axisjava\commons-logging.jar;C:\AXIS\lib\axisjava\jaxrpc.jar;
C:\AXIS\lib\axisjava\saaj.jar;C:\AXIS\lib\axisjava\wsdl4j.jar;C:\AXIS\lib\axisjava\xml-apis.jar;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws krofur.wsdl -o./ClientOut
-lc++ -sclient
18.9.2004 17:15:04 org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler = and javax .mail.internet.MimeMultipart). Attachment support is disabled.
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.axis.wsdl.sym
bolTable.ElementDecl.getMinOccrs()I
at
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(WSDL2Ws.java:689)
at
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(WSDL2Ws.java:527)
at
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(WSDL2Ws.java:602)
at
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(WSDL2Ws.java:682)
at
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getTypeInfo(WSDL2Ws.java:426)
at
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(WSDL2Ws.java:46
3)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:796)
Error 1 is exception.
Error 2 is Why does it not find required classes???
There are plenty of people using the wsdl file so we can assert that it is ok.
I am using sun java sdk 1.4 and axis-c-win32-current-bin.zip downloaded 18-sept-2004 and dated 15-sept-2004.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira