当前位置:编程学习 > JAVA >>

tomcat上发布axis2出现如下错误

- Error in schema generating null
java.lang.NullPointerException
        at org.apache.ws.java2wsdl.Java2WSDLUtils.namespaceFromClassName(Java2WSDLUtils.java:51)
        at org.apache.ws.java2wsdl.Java2WSDLUtils.schemaNamespaceFromClassName(Java2WSDLUtils.java:7
        at org.apache.ws.java2wsdl.SchemaGenerator.<init>(SchemaGenerator.java:77)
        at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:209)
        at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:149)
        at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader
        at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveRead
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:620)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:195)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:207)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155)
        at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:91)
        at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurato
        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(Configura
        at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213)
        at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) axis2 java tomcat webservice
补充:Java ,  Web 开发
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,