Java web service 异常

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

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

 

posted @ 2018-03-26 11:16  空涅  阅读(627)  评论(0编辑  收藏  举报