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

sfi*_*nja 3 java ssl web-services cxf applicationcontext

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

  The prefix "http" for element "http:conduit" is not bound
Run Code Online (Sandbox Code Playgroud)

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

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

绑定到什么?

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

Sot*_*lis 8

该http在http: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">
Run Code Online (Sandbox Code Playgroud)