RPi 3上的Eclipse Kura安装失败,“无法绑定引用或组件”

时间:2018-02-01 16:18:21

标签: java eclipse osgi kura

我正在使用RPi 3 + Raspbian 2017-11-29。 我想在库拉做一个Hello世界。我从raspberry-pi-quick-start.html安装了Kura,Web UI上的一切正常,localhost / kura可用。
我想从java/tutorial添加温室演示,但没有成功。
我检查了RPi上的日志:/var/log/kura-console.log:

!ENTRY org.eclipse.equinox.ds 1 0 2018-02-01 15:42:24.516
!MESSAGE Could not bind a reference of component         
org.eclipse.kura.core.configuration.CloudConfigurationHandler. The 
reference is: Reference[name = CloudService, interface = o$

!ENTRY org.eclipse.equinox.ds 1 0 2018-02-01 15:42:25.730
!MESSAGE Could not bind a reference of component 
org.eclipse.kura.core.deployment.hook.DeploymentHookManager. The 
reference is: Reference[name = DeploymentHook, interface = o$

!ENTRY org.eclipse.equinox.ds 1 0 2018-02-01 15:42:59.813
!MESSAGE Could not bind a reference of component 
org.eclipse.kura.net.admin.NetworkConfigurationService. The reference 
is: Reference[name = ModemManagerService, interface = o$
Kura Started (pid=367) ...
!SESSION 2018-02-01 15:44:44.605 --------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_151
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=arm, WS=gtk, NL=en_GB
Command-line arguments:  -configuration /tmp/.kura/configuration -console 5002 -consoleLog

!ENTRY org.eclipse.equinox.ds 1 0 2018-02-01 15:45:12.656
!MESSAGE Could not bind a reference of component 
org.eclipse.kura.core.configuration.CloudConfigurationHandler. The 
reference is: Reference[name = CloudService, interface = o$

!ENTRY org.eclipse.equinox.ds 1 0 2018-02-01 15:45:15.950
!MESSAGE Could not bind a reference of component 
org.eclipse.kura.core.deployment.hook.DeploymentHookManager. The 
reference is: Reference[name = DeploymentHook, interface = o$

!ENTRY org.eclipse.equinox.ds 1 0 2018-02-01 15:45:38.340
!MESSAGE Could not bind a reference of component 
org.eclipse.kura.net.admin.NetworkConfigurationService. The reference 
is: Reference[name = ModemManagerService, interface = o$

!ENTRY org.eclipse.equinox.ds 2 0 2018-02-01 15:47:39.989
!MESSAGE [SCR] Enabling components of bundle org.eclipse.kura.web2 did 
not complete in 60000 ms

关于这里有什么问题的想法? 感谢

1 个答案:

答案 0 :(得分:0)

温室演示基于旧版Kura(v1.3.0)。如果您使用的是较新版本的Kura,它将无法使用。您可以在Kura Github仓库中找到几个示例项目:https://github.com/eclipse/kura/tree/develop/kura/examples