Java axis2.jar包详解及缺少jar包错误分析

时间:2023-11-25 15:50:56

Java  axis2.jar包详解及缺少jar包错误分析

一、最小开发jar集

axis2 开发最小jar包集:

activation-1.1.jar
axiom-api-1.2.13.jar
axiom-dom-1.2.13.jar
axiom-impl-1.2.13.jar
axis2-adb-1.6.2.jar
axis2-adb-codegen-1.6.2.jar
axis2-codegen-1.6.2.jar
axis2-java2wsdl-1.6.2.jar
axis2-kernel-1.6.2.jar
commons-codec-1.3.jar
commons-
commons-logging-1.1.1.jar
mail-1.4.jar
neethi-3.0.2.jar
woden-api-1.0M9.jar
woden-impl-commons-1.0M9.jar
woden-impl-dom-1.0M9.jar
wsdl4j-1.6.2.jar
wstx-asl-3.2.9.jar
XmlSchema-1.4.7.jar
axis2-transport-
axis2-transport-local-1.6.2.jar

二、axis2 webservice 服务端jar包:

axis2-kernel-1.6.1.jar
axis2-spring-1.6.1.jar
axis2-transport-
XmlSchema-1.4.7.jar
wsdl4j-1.6.2.jar
axiom-api-1.2.12.jar
axiom-impl-1.2.12.jar
neethi-3.0.1.jar
axis2-transport-local-1.6.1.jar
commons-
axis2-jaxws-1.6.1.jar
spring.jar
commons-logging-1.1.1.jar

三、axis2 webservice client端jar包

axis2-kernel-1.6.1.jar
axis2-adb-1.6.1.jar
axiom-api-1.2.12.jar
commons-logging-1.1.1.jar
wsdl4j-1.6.2.jar
XmlSchema-1.4.7.jar
axiom-impl-1.2.12.jar
neethi-3.0.1.jar
axis2-transport-local-1.6.1.jar
axis2-transport-
commons-
commons-codec-1.3.jar

四、错误分析

1,异常:java.lang.NoClassDefFoundError: org/apache/neethi/PolicyComponent

缺少:neethi-2.0.4.jar

2,异常: StandardWrapper.Throwable java.lang.NoClassDefFoundError: org/apache/woden/resolver/URIResolver

缺少:woden-api-1.0MB.jar 和woden-impl-dom-1.0MB.jar

3,异常:java.lang.NoClassDefFoundError: javax/mail/internet/ParseException

缺少:mail-1.4.jar

4,异常:org.apache.axis2.extensions.spring.receivers.ApplicationContextHolder

缺少:axis2-spring-1.6.1.jar

5,异常:org.apache.axis2.transport.http.AxisServlet  

缺少:axis2-transport-

6,异常:javax.wsdl.xml.WSDLLocator  

缺少:wsdl4j-1.6.2.jar

7.异常:ormons.schema.resolver.URIResolver

缺少:XmlSchema-1.4.7.jar

8,异常:org.apache.axiom.om.OMNode  

缺少axiom-api-1.2.12.jar

9,异常:org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory

缺少:axiom-impl-1.2.12.jar

10,异常:org.apache.neethi.PolicyComponent

缺少:neethi-3.0.1.jar

11,异常:org.apache.axis2.transport.local.LocalTransportSender

缺少:axis2-transport-local-1.6.1.jar;ormons.;commons-

12,异常:javax.mail.internet.ParseException  

缺少:mail-1.4.jar

13,异常:ormons.fileupload.FileItemFactory

缺少:commons-fileupload-1.2.jar

14,异常:org.apache.woden.resolver.URIResolver

缺少:woden-api-1.0M9.jar

15,异常:org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher  

缺少:axis2-jaxws-1.6.1.jar

16,异常:ormons.io.FileUtils  

缺少:commons-io-1.4.jar

17,异常:org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver

缺少:axis2-adb-1.6.1.jar

18,异常:org.apache.axis2.rpc.client.RPCServiceClient

缺少:axis2-adb-1.6.1.jar

19,异常:org.apache.axis2.AxisFault 

缺少:axis2-kernel-1.6.1.jar

20,异常:org.apache.axis2.addressing.EndpointReference

缺少:axis2-kernel-1.6.1.jar

21,异常:org.apache.axis2.client.Options

缺少:axis2-kernel-1.6.1.jar

22,异常:ormons.logging.LogFactory

缺少:commons-logging-1.1.1.jar

23,异常:org.apache.axis2.transport.http.CommonsHTTPTransportSender

缺少:axis2-transport-

24,异常:org.apache.http.HttpResponseFactory

缺少:servlet-api.jar

25,异常:ordec.DecoderException

缺少:commons-codec-1.3.jar