保险丝7.1.0 - 蓝图 - 捆绑进入宽限期:缺少依赖性错误:cxf-rt-transports-http-jetty

问题描述 投票:0回答:1

我的包正在进入宽限期,出现以下错误:

carafe @ root()> bundle:diag

BundleNameXYZ [bundle-name-xyz](228)

状态:GracePeriod Blueprint 2/15/19 4:31 PM缺少依赖项:(&(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-common,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论坛上提供的一些解决方案。但没有运气。有人可以帮忙吗?

jbossfuse blueprint-osgi
1个回答
0
投票

保险丝7正式支持承诺而不是码头。 Jetty服务器端被列入黑名单。请检查cxf-rt-transports-http-undertow。

© www.soinside.com 2019 - 2024. All rights reserved.