I'm using CXF 3.0.0 and tried to generate WSDL from java interface. My build
is a ant build.
I used org.apache.cxf.tools.java2ws.JavaToWS as following
<java classname="org.apache.cxf.tools.java2ws.JavaToWS" fork="true"
failonerror="true">
<arg value = "-databinding"/>
<arg value="aegis"/>
<arg value = "-wsdl"/>
<arg value="-d"/>
<arg value="target/src/generated-source"/>
<arg value="com.sample.TestInterface"/>
<classpath>
<path refid="cxf.classpath"/>
</classpath>
</java>
cxf.classpath has all the jars from cxf 3.0.0 lib folder.
TestInterface has annotated using @WebService and @WebParam
I got following error.
Error: java.lang.RuntimeException: java.lang.RuntimeException: No ASM
ClassWriterFound
How can i fix this ?
is a ant build.
I used org.apache.cxf.tools.java2ws.JavaToWS as following
<java classname="org.apache.cxf.tools.java2ws.JavaToWS" fork="true"
failonerror="true">
<arg value = "-databinding"/>
<arg value="aegis"/>
<arg value = "-wsdl"/>
<arg value="-d"/>
<arg value="target/src/generated-source"/>
<arg value="com.sample.TestInterface"/>
<classpath>
<path refid="cxf.classpath"/>
</classpath>
</java>
cxf.classpath has all the jars from cxf 3.0.0 lib folder.
TestInterface has annotated using @WebService and @WebParam
I got following error.
Error: java.lang.RuntimeException: java.lang.RuntimeException: No ASM
ClassWriterFound
How can i fix this ?