axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-c-...@ws.apache.org
Subject [jira] Commented: (AXISCPP-160) Exception in thread "main" java.lang.NoSuchMethodError:
Date Tue, 28 Sep 2004 14:36:32 GMT
The following comment has been added to this issue:

     Author: John Hawkins
    Created: Tue, 28 Sep 2004 7:35 AM
       Body:
This is the issue with having Axis Java classes before Axis C classes - please ensure that
you have Axis C classes before Axis java in your classpath
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-160?page=comments#action_53463

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

    Project: Axis-C++
 Components: 
             WSDL processing
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Eyjolfur Eyjolfsson

    Created: Sat, 18 Sep 2004 11:00 AM
    Updated: Tue, 28 Sep 2004 7:35 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


Mime
View raw message