java - Web Service 发布报错问题?

 川川shilohjr_993 发布于 2022-10-26 19:35
 The SimpleService service, which is not valid, caused java.lang.Error: Unresolved compilation problems:
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.util cannot be resolved
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axiom.om.OMAbstractFactory cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axiom.om.OMAbstractFactory cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type

        at org.example.www.helloservice.HelloServiceMessageReceiverInOut.(HelloServiceMessageReceiverInOut.java:14)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at java.lang.Class.newInstance(Class.java:442)
        at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:192)
        at org.apache.axis2.deployment.DescriptionBuilder.processMessageReceivers(DescriptionBuilder.java:171)
        at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:283)
        at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
        at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:117)
        at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:232)
        at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:154)
        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
        at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136)
        at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)
        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
        at org.apache.axis2.transport.SimpleAxis2Server.(SimpleAxis2Server.java:47)
        at org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)

[INFO] org.apache.axis2.deployment.DeploymentException: java.lang.Error: Unresolved compilation problems:
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.util cannot be resolved
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axiom.om.OMAbstractFactory cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axiom.om.OMAbstractFactory cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache.axis2.AxisFault cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type
        org.apache cannot be resolved to a type

发布webservice的时候会报这样的错误,这是什么原因?

1 个回答
  • Unresolved compilation problems 这分明是存在编译错误

    2022-11-12 01:42 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有