2013-07-31 12:11:15 [main] DEBUG context.AbstractContext : OnDemandLogger initialized for class org.apache.axis2.context.AbstractContext is:org.apache.commons.logging.impl.Log4JLogger@60f4ffd8
2013-07-31 12:11:15 [main] DEBUG util.Loader : Trying to find [org/apache/axis2/deployment/axis2_default.xml] using sun.misc.Launcher$AppClassLoader@75787005 class loader.
2013-07-31 12:11:15 [main] DEBUG util.StAXUtils : About to create XMLInputFactory implementation with classloader=sun.misc.Launcher$AppClassLoader@75787005
2013-07-31 12:11:15 [main] DEBUG util.StAXUtils : The classloader for javax.xml.stream.XMLInputFactory is: null
2013-07-31 12:11:15 [main] DEBUG dialect.StAXDialectDetector : StAX implementation at jar:file:/home/amosli/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9.jar!/ is:
Title: WoodSToX XML-processor
Symbolic name: null
Vendor: woodstox.codehaus.org
Version: 3.2.9
2013-07-31 12:11:15 [main] DEBUG dialect.StAXDialectDetector : Detected StAX dialect: Woodstox
2013-07-31 12:11:15 [main] DEBUG util.StAXUtils : Created XMLInputFactory = class org.apache.axiom.util.stax.wrapper.ImmutableXMLInputFactory with classloader=sun.misc.Launcher$AppClassLoader@75787005
2013-07-31 12:11:15 [main] DEBUG util.StAXUtils : Configuration = DEFAULT
2013-07-31 12:11:15 [main] DEBUG util.StAXUtils : Size of XMLInputFactory map for this configuration = 1
2013-07-31 12:11:15 [main] DEBUG util.StAXUtils : Configurations for which factories have been cached = [DEFAULT]
2013-07-31 12:11:15 [main] DEBUG util.StAXUtils : XMLStreamReader is org.apache.axiom.util.stax.dialect.WoodstoxStreamReaderWrapper
2013-07-31 12:11:15 [main] DEBUG llom.OMSerializableImpl : Builder is already complete.
2013-07-31 12:11:16 [main] DEBUG util.Loader : java.lang.ClassNotFoundException: org.apache.axis2.transport.local.LocalTransportSender
2013-07-31 12:11:16 [main] DEBUG i18n.ProjectResourceBundle : getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)
2013-07-31 12:11:16 [main] DEBUG i18n.ProjectResourceBundle : loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.resource, locale zh_CN
2013-07-31 12:11:16 [main] DEBUG i18n.ProjectResourceBundle : Created org.apache.axis2.i18n.resource, linked to parent null
2013-07-31 12:11:16 [main] DEBUG i18n.ProjectResourceBundle : getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)
2013-07-31 12:11:16 [main] DEBUG i18n.ProjectResourceBundle : org.apache.axis2.i18n.resource::handleGetObject(errorinloadingts)
2013-07-31 12:11:16 [main] DEBUG deployment.AxisConfigBuilder : A org.apache.axis2.transport.local.LocalTransportSender error occurred in loading the transport sender {1}
java.lang.ClassNotFoundException: org.apache.axis2.transport.local.LocalTransportSender
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
at org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:682)
at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:123)
at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
at org.apache.axis2.client.ServiceClient.
(ServiceClient.java:144)
at org.apache.axis2.client.ServiceClient.(ServiceClient.java:251)
at org.apache.axis2.rpc.client.RPCServiceClient.(RPCServiceClient.java:48)
at RPCClient.main(RPCClient.java:12)
Exception in thread "main" org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.local.LocalTransportSender
at org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:707)
at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:123)
at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
at org.apache.axis2.client.ServiceClient.(ServiceClient.java:144)
at org.apache.axis2.client.ServiceClient.(ServiceClient.java:251)
at org.apache.axis2.rpc.client.RPCServiceClient.(RPCServiceClient.java:48)
at RPCClient.main(RPCClient.java:12)
Caused by: java.lang.ClassNotFoundException: org.apache.axis2.transport.local.LocalTransportSender
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
at org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:682)
... 10 more
是因为没有jar包,如上图,axis2-1.6.2/lib下的jar包导入即可.