我正在使用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
对这里出什么问题有任何想法吗?
谢谢
最佳答案
温室演示基于旧版本的Kura(v1.3.0)。如果您使用的是较新版本的Kura,它将无法正常工作。您可以在Kura Github存储库中找到几个示例项目:https://github.com/eclipse/kura/tree/develop/kura/examples