[ https://issues.apache.org/jira/browse/AXIS2-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503719#comment-17503719 ]
Robert Lazarski commented on AXIS2-6027: ---------------------------------------- Best I can tell is that you somehow have an ancient version of Google Guava in your classpath as the method asDescendingMapOfRanges() was introduced in Guava 19 however the version of Guava shipped with axis2 is 30. I'd try to figure that out first i.e. look for guava before 19 in your classpath. There is a Java way to figure it out though it'd require compiling from source and putting this code in the right spot by declaring an instance of TreeRangeMap: getClass().getProtectionDomain().getCodeSource().getLocation()); > Axis2 1.8.0 - WSDL2Java Stub class generation issue > --------------------------------------------------- > > Key: AXIS2-6027 > URL: https://issues.apache.org/jira/browse/AXIS2-6027 > Project: Axis2 > Issue Type: Bug > Reporter: Senthil > Priority: Blocker > > Hi Team, > While migrating from Axis 1.4 to Axis2 1.8.0 JAR version to generate stub > classes for the web service, we are getting java.lang.nosuchmethoderror: > com.google.common.collect.TreeRangeMap.asDescendingMapOfRanges()Ljava/util/Map; > exception when running the below ant wsdl2java target. > Could you please advise to resolve the above build issue and generate stub > classes? > Please need your immediate support. > Thanks > <target name="wsdl2java"> > <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" > failonerror="true"> > <jvmarg value="...." /> > <arg value="-p" /> > <arg value="..." /> > <arg value="-o" /> > <arg file="..." /> > <arg value="-uri" /> > <arg line="http:server1:1000/ws/test?WSDL" /> > <classpath> > <path refid=".." /> > </classpath> > </java> > </target> > > Since to avoid compliance violation, i have anonymous the argument value as > "..." -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org