当前位置: 代码迷 >> Web前端 >> WebService-常见错误
  详细解决方案

WebService-常见错误

热度:644   发布时间:2012-08-24 10:00:20.0
WebService------常见异常

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

则是缺少commons-discovery-0.2.jar

?

2.Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException

则是没有加入saaj.jar 包

?

3.Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/mime/MIMEContent
则是没有加如wsdl4j.jar

?

4.java.lang.NoClassDefFoundError: javax/xml/rpc/Service

缺少jaxrpc-1.0.jar包

  相关解决方案