【问题标题】:Why is server-config.wsdd not being created by the eclipse web services wizard?为什么 Eclipse Web 服务向导没有创建 server-config.wsdd?
【发布时间】:2012-10-28 16:38:11
【问题描述】:

我正在使用 eclipse (Juno) 为 Tomcat 7 和 Axis2 开发 Web 服务。我有一个 Java bean,我想用它来创建 Web 服务。 Web 服务向导似乎运行正常,但是当服务器启动时,我收到以下错误消息:

2012-11-08 13:31:20,059 ERROR [localhost-startStop-1] configuration.EngineConfigurationFactoryServlet (EngineConfigurationFactoryServlet.java:162) getServerEngineConfig 
    - Unable to find config file.  
    Creating new servlet engine config file: /WEB-INF/server-config.wsdd

我理解这意味着缺少 server-config.wsdd。如何创建此文件?为什么不是向导自动生成的?

更新 我重新创建了项目,但没有出现错误消息。我想我做错了什么。正如 Andreas Veithen 在下面所建议的那样,可能正在使用 Axis1。

【问题讨论】:

    标签: axis2 tomcat7 eclipse-wtp java2wsdl


    【解决方案1】:

    这是 Axis 1.x 生成的错误消息。如果您正在开发 Axis2 服务,则不应尝试将其部署在 Axis 1.x 上。

    【讨论】:

      【解决方案2】:

      在生成 java beans 或 wsdl 时,在 webservices 向导中选择启动服务选项,然后 eclipse 将为您创建 server-confid.wsdd 文件。希望这会有所帮助。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-02-07
        • 1970-01-01
        相关资源
        最近更新 更多