[ 
https://issues.apache.org/jira/browse/AXIS2-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509845#comment-17509845
 ] 

Senthil commented on AXIS2-6027:
--------------------------------

Thanks Robert!

Sorry for the late reply!

You are right about old Guava JAR reference. After we adjust class loader order 
to pick the latest Guava JAR version, issue got resolved.

 

Thanks again!

> 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

Reply via email to