这样做是可行的:
karaf@root> feature:repo-add camel 3.7.7
karaf@root> feature:install camel camel-cxf这不管用:
karaf@root> feature:repo-add camel 3.8.0
karaf@root> feature:install camel camel-cxf错误消息:
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity;
osgi.identity=camel-cxf; type=karaf.feature; version="[3.8.0,3.8.0]";
filter:="(&(osgi.identity=camel-cxf)(type=karaf.feature)(version>=3.8.0)(version<=3.8.0))"
[caused by: Unable to resolve camel-cxf/3.8.0: missing requirement [camel-cxf/3.8.0]
osgi.identity; osgi.identity=cxf-core; type=karaf.feature; version="[3.3.0,4.0.0)"]为什么这两个版本之间停止工作,或者更确切地说,我如何解决这个问题?
发布于 2022-02-09 09:52:01
您是否尝试过添加apache特性存储库并首先安装cxf特性?
示例:
feature:repo-add cxf <version>
feature:install cxf
feature:repo-add camel 3.8.0
feature:install camel
feature:install camel-cxfCamel特性存储库有apache特性库的条目,版本范围设置为3.0.0 - 4.0.0,这可能导致它使用apache-cxf的不兼容版本或其特性存储库。
缺少的cxf核心特性应该可以在cxf特性存储库中使用,如果您首先安装cxf功能,则camel-cxf应该只使用预装版本,而不是尝试安装最新版本,因为从技术上讲,它可能低于4.0.0。
https://stackoverflow.com/questions/71033154
复制相似问题