[
https://issues.apache.org/jira/browse/AXIS2-5154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113946#comment-13113946
]
Andreas Veithen commented on AXIS2-5154:
----------------------------------------
You need to use the JAR files from a _single_ Axis2 version (not a mix of
1.4.1, 1.5 and 1.5.5). Anything else leads to unpredictable results.
> java.lang.NoSuchMethodError:
> org.apache.axis2.databinding.utils.ConverterUtil.compare(Ljava/math/BigInteger;Ljava/lang/String;)J
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-5154
> URL: https://issues.apache.org/jira/browse/AXIS2-5154
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.5.5
> Environment: UNIX, JAVA
> Reporter: Rachna
> Labels: maven
> Original Estimate: 468h
> Remaining Estimate: 468h
>
> I downloaded axis2-1.5.5-bin from Internet and generated my stub using
> wsdl2java command.
> Everything is working fine when i am manually running the application using
> "java" command, sending a request and getting a response from Server.
> When I am running the same application using Jar file using "java -jar
> AAA.jar "command, getting the following exception.
> Exception in thread "Thread-0" java.lang.NoSuchMethodError:
> org.apache.axis2.databinding.utils.ConverterUtil.compare(Ljava/math/BigInteger;Ljava/lang/String;)J
> at
> org.apache.axis2.axis2userguide.QuantumUAStub$ErrorCode_type1.setErrorCode_type0(QuantumUAStub.java:33419)
> at
> org.apache.axis2.axis2userguide.QuantumUAStub$ErrorCode_type1$Factory.parse(QuantumUAStub.java:33786)
> at
> org.apache.axis2.axis2userguide.QuantumUAStub$GetSubscriberResponse$Factory.parse(QuantumUAStub.java:34296)
> at
> org.apache.axis2.axis2userguide.QuantumUAStub.fromOM(QuantumUAStub.java)
> at
> org.apache.axis2.axis2userguide.QuantumUAStub.getSubscriber(QuantumUAStub.java:1348)
> at
> org.apache.axis2.axis2userguide.SOExecutionThread.getCustomer(AAA_Broadhop.java:968)
> at
> org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:1577)
> at java.lang.Thread.run(Thread.java:595)
> Tried lot of things like changing the jar files, but getting the same
> exception every time. This method is there in the jar file, still throwing
> this error.
> My Manifest file is pasted below which contains all the jar files being used.
> Manifest-Version: 1.0
> Created-By: 1.5.0_05 (Sun Microsystems Inc.)
> Class-path: axis2-1.5.jar axis2-kernel-1.5.5.jar commons-logging-1.1.1.jar
> geronimo-stax-api_1.0_spec-1.0.1.jar wstx-asl-3.2.9.jar wsdl4j-1.6.2.jar
> XmlSchema-1.4.3.jar axiom-impl-1.2.11.jar axiom-dom-1.2.11.jar
> axiom-api-1.2.11.jar neethi-2.0.5.jar commons-httpclient-3.1.jar
> activation-1.1.jar commons-fileupload-1.2.jar woden-api-1.0M8.jar
> woden-impl-dom-1.0M8.jar httpcore-4.0.jar axis2-adb-1.5.jar
> commons-codec-1.3.jar mail-1.4.jar axis2-transport-local-1.5.jar
> axis2-transport-http-1.5.jar
> Main-Class: org.apache.axis2.axis2userguide.AAA_Broadhop
> Please help me to resolve this issue. The funtionality is working perfectly
> fine, only above problem comes when I try to run the code after creating the
> jar file.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]