在水壶中安装karaf的启动功能时出错

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

我正在尝试将kettle和大数据插件集成到我的项目中。当壶的karaf加载名为pdi-osgi-bridge-activator的插件时。它引发了一个异常:

2018-09-01 16:52:09.303 DEBUG 9236 --- [      Thread-52] o.a.k.f.internal.FeaturesServiceImpl     : Starting bundle: pdi-osgi-bridge-activator
2018-09-01 16:52:09.365 ERROR 9236 --- [      Thread-52] o.a.k.f.internal.BootFeaturesInstaller   : Error installing boot features

java.lang.Exception: Could not start bundle wrap:mvn:pentaho/pdi-osgi-bridge-activator/7.1.0.0-12 in feature(s) pentaho-base-1.0: Unresolved constraint in bundle pdi-osgi-bridge-activator [60]: Unable to resolve 60.0: missing requirement [60.0] osgi.wiring.package; (osgi.wiring.package=org.pentaho.di.core.exception)
    at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:504) ~[3.0.3:na]
    at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:459) ~[3.0.3:na]
    at org.apache.karaf.features.internal.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:92) ~[3.0.3:na]
    at org.apache.karaf.features.internal.BootFeaturesInstaller$1.run(BootFeaturesInstaller.java:71) [3.0.3:na]
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle pdi-osgi-bridge-activator [60]: Unable to resolve 60.0: missing requirement [60.0] osgi.wiring.package; (osgi.wiring.package=org.pentaho.di.core.exception)
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) ~[org.apache.felix.main-4.2.1.jar:na]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) ~[org.apache.felix.main-4.2.1.jar:na]
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) ~[org.apache.felix.main-4.2.1.jar:na]
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) ~[org.apache.felix.main-4.2.1.jar:na]
    at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:501) ~[3.0.3:na]
    ... 3 common frames omitted

我认识全班:

org.pentaho.osgi.legacy.LegacyPluginExtenderFactory

使用

org.pentaho.di.core.exception.KettlePluginException

但如果我用Spoon.bat启动水壶,这些都不会发生。我会错过一些参数或配置吗?

osgi pentaho kettle karaf
1个回答
1
投票

哪个包有“org.pentaho.di.core.exception.KettlePluginException”?

它需要一些捆绑来导出它。

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