欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Java web service 异常

程序员文章站 2022-12-08 11:08:38
1.org/apache/commons/discovery/tools/DiscoverSingleton Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/D ......

1.org/apache/commons/discovery/tools/DiscoverSingleton

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton

缺少:commons-logging和commons-discovery

 

2.ojava.lang.NoClassDefFoundError: javax/wsdl/OperationType

 at org.apache.axis.description.OperationDesc.(OperationDesc.java:59)

 

缺少:wsdl4j.jar

 

3.java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/discoversingleton

缺少:commons-discovery.jar
 

4.java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

缺少:commons-logging.jar
 

5.java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException

缺少:jaxrpc.jar
 

6.java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException

缺少:axis2-saaj.jar
 

7.Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Error invoking (……) Nested exception is java.lang.reflect.InvocationTargetException: null

代码上传到服务器时不完全导致的