元素"http:conduit"的前缀"http"没有约束 - 这是什么意思?

 铲除飞网败类 发布于 2023-02-07 21:47

我试图根据这个官方的Apache CXF指南为我的基于CXF的客户端配置SSL支持,但Eclipse标记了带有红色下划线和非常短的错误描述的标记:http:conduit

  The prefix "http" for element "http:conduit" is not bound

我在网上搜索了关于此消息的含义以及如何修复它的其他线索,但我还没有找到任何可以解释为什么我收到此错误的信息.

知道元素"http:conduit"的前缀"http"是不是绑定意味着什么?

绑定到什么?

为什么只有前缀"http"而不是"管道"?

1 个回答
  • httphttp:conduit的是,命名空间conduit元素属于.

    查看您发布的链接中的示例.您需要为所使用的元素指定命名空间和架构位置.

    <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:sec="http://cxf.apache.org/configuration/security"
      xmlns:http="http://cxf.apache.org/transports/http/configuration"
      xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
      xsi:schemaLocation="
          http://cxf.apache.org/configuration/security
          http://cxf.apache.org/schemas/configuration/security.xsd
          http://cxf.apache.org/transports/http/configuration
          http://cxf.apache.org/schemas/configuration/http-conf.xsd
          http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
    

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