Senthil created AXIS2-6027:
------------------------------

             Summary: 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


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