我的包正在进入宽限期,出现以下错误:
carafe @ root()> bundle:diag
状态: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论坛上提供的一些解决方案。但没有运气。有人可以帮忙吗?
保险丝7正式支持承诺而不是码头。 Jetty服务器端被列入黑名单。请检查cxf-rt-transports-http-undertow。