axis2发布的webservice可以正常访问,但是控制台会报错

如题,使用axis2框架发布的webservice,第一次访问的时候控制台会报错,不影响使用。
13:43:38.801 [http-bio-8080-exec-2] ERROR org.apache.axis2.deployment.ModuleDeployer - The axis2-jaxws-mar-1.6.2.mar module, which is not valid, caused org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher
org.apache.axis2.AxisFault: org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) ~[axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:412) ~[axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:92) ~[axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:549) [axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:80) ~[axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) [axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) [axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:264) [axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:69) [axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.RepositoryListener.(RepositoryListener.java:64) [axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:158) [axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:228) [axis2-1.6.2.jar:na]
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) [axis2-1.6.2.jar:na]
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584) [axis2-transport-http-1.6.2.jar:na]
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454) [axis2-transport-http-1.6.2.jar:na]
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1282) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1195) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:866) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.69]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.69]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.69]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.69]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [catalina.jar:7.0.69]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-coyote.jar:7.0.69]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-coyote.jar:7.0.69]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) [tomcat-coyote.jar:7.0.69]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.69]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
Caused by: java.lang.ClassNotFoundException: org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858) ~[catalina.jar:7.0.69]
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701) ~[catalina.jar:7.0.69]
at java.lang.Class.forName0(Native Method) ~[na:1.7.0_80]
at java.lang.Class.forName(Class.java:195) ~[na:1.7.0_80]
at org.apache.axis2.util.Loader.loadClass(Loader.java:261) ~[axis2-1.6.2.jar:na]
at org.apache.axis2.util.Loader.loadClass(Loader.java:229) ~[axis2-1.6.2.jar:na]
at org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:410) ~[axis2-1.6.2.jar:na]
... 31 common frames omitted
Could not identify the Annotation....
Could not identify the Annotation....
Could not identify the Annotation....
求大神帮看下是什么原因

查看全部
Lx_Mracle
Lx_Mracle
2017/04/05 05:49
  • axis2 webservice
  • 点赞
  • 收藏
  • 回答
    私信

1个回复