Java JBoss保险丝没有';我不想部署…正在等待命名空间处理程序[http://cxf.apache.org/core]
当我尝试将此代码添加到blueprint时Java JBoss保险丝没有';我不想部署…正在等待命名空间处理程序[http://cxf.apache.org/core],java,jboss,jbossfuse,Java,Jboss,Jbossfuse,当我尝试将此代码添加到blueprint时 <cxfcore:bus> <cxfcore:features> <p:policies/> <cxfcore:logging/> </cxf:features> </cxfcore:bus> 但没有启动任何内容(没有cxf端点,如果没有定义cxfcore:bus,则两个端点正在侦听) 我可以看到已安装的功能: [installed
<cxfcore:bus>
<cxfcore:features>
<p:policies/>
<cxfcore:logging/>
</cxf:features>
</cxfcore:bus>
但没有启动任何内容(没有cxf端点,如果没有定义cxfcore:bus
,则两个端点正在侦听)
我可以看到已安装的功能:
[installed ] [2.7.0.redhat-610379 ] cxf cxf-2.7.0.redhat-610379
保险丝版本:
jboss-fuse-6.1.0.redhat-379
有线索吗,伙计们?谢谢。您首先需要在包中提供骆驼蓝图依赖项,以便可以找到xml名称空间。然后需要使用正确的名称空间。正确的答案是,
xmlns:cxf=”http://cxf.apache.org/blueprint/core“
例如:
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/blueprint"
xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
xmlns:cxf="http://cxf.apache.org/blueprint/core"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://cxf.apache.org/blueprint/jaxws http://cxf.apache.org/schemas/blueprint/jaxws.xsd
http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd
http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd
">
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/blueprint"
xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
xmlns:cxf="http://cxf.apache.org/blueprint/core"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://cxf.apache.org/blueprint/jaxws http://cxf.apache.org/schemas/blueprint/jaxws.xsd
http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd
http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd
">