【问题标题】:Eclipse Kura installation on RPi 3 failed with "could not bind a reference or component"RPi 3 上的 Eclipse Kura 安装失败,“无法绑定引用或组件”
【发布时间】:2018-07-12 01:03:44
【问题描述】:

我正在使用 RPi 3 + Raspbian 2017-11-29。 我想在 Kura 上做一个 Hello world。我从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

对这里的问题有什么想法吗? 谢谢

【问题讨论】:

    标签: java eclipse osgi kura


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-08-15
      • 1970-01-01
      • 1970-01-01
      • 2015-11-29
      • 1970-01-01
      • 2017-10-15
      • 2021-04-21
      • 2014-08-19
      相关资源
      最近更新 更多