嘿,我正在尝试使用轴 1.4 获取客户端 Java 类,但是当我尝试从命令提示符运行以下命令时,我看到 NO CLASS DEF FOUND ... 请帮助解释原因
WSDL file location: C:\
WSDL2JAVA .class location: C:\axis-1_4\lib\org\apache\axis\wsdl\WSDL2JAVA
C:\>java -classpath \axis-1_4\lib org.apache.axis.wsdl.WSDL2Java -v -o -s d:\gen
erate C:\MyWebService.wsdl
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.commons.lo
gging.LogFactory
at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:4
5)
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45
)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory
.java:41)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java
:33)
at org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBu
ndle.java:53)
at org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.jav
a:32)
at org.apache.axis.utils.Messages.<clinit>(Messages.java:36)
at org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:112)