WSDL2Java Throws Could not find main class: org.apache.axis.wsdl.WSDL2Java

邮差的信 提交于 2019-12-01 15:27:54

Add the jars to the classpath individually if you're using a Java version before 6. If you're using Java 6, see here if you want to use wildcards.

try

java -cp %AXISCLASSPATH% org.apache.wsdl.WSDL2Java http://myurl.com?wsdl

Class names are case sensitive

package structure is wrong. Please use org.apache.axis.wsdl.WSDL2Java

Login as eucalyptis and compile and it will find all of the jars - this took me forever to figure out!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!