我的捆绑包进入宽限期,出现以下错误:
karaf @ root()>捆绑包:diag
状态:GracePeriod 蓝图 19/2/15下午4:31 缺少依赖项: (&(objectClass = org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace = http://cxf.apache.org/transports/http-jetty/configuration)) 声明式服务 CdiOsgi
我的blueprint.xml文件包含
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
xmlns:camel="http://camel.apache.org/schema/blueprint" xmlns:http-jetty="http://cxf.apache.org/transports/http-jetty/configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sec="http://cxf.apache.org/configuration/security"
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd
http://cxf.apache.org/transports/http-jetty/configuration http://cxf.apache.org/schemas/configuration/http-jetty.xsd
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd">
..............
我已经尝试安装必需的功能,例如常见的camel-jetty,camel-jetty9和camel-cxf-transport。还尝试像在
中那样在pom.xml中添加提供的范围<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<scope>provided</scope>
</dependency>
在JBoss和stackoverflow论坛上查看了一些可用的解决方案。有人可以帮忙吗?
答案 0 :(得分:0)
Fuse 7正式支持拖曳而不是码头。码头服务器端被列入黑名单。请检查cxf-rt-transports-http-undertow。