首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在创建微尘时使用Contiki Cooja微尘的问题

在创建微尘时使用Contiki Cooja微尘的问题
EN

Stack Overflow用户
提问于 2015-02-17 02:35:17
回答 1查看 981关注 0票数 0

我已经开发了一个工作的Cooja模拟,它使用1个天空微尘(对于RPL边界路由器,不能与cooja微尘一起工作)和30个Cooja微尘。我使用ant big_mem运行cooja。模拟工作正常,然后我保存了它。在退出cooja之后,我尝试重新使用它,但我总是得到以下错误:

代码语言:javascript
复制
se.sics.cooja.GUI$SimulationCreationException: Mote type creation error: Error when creating corecomm instance: Lib4
    at se.sics.cooja.GUI.loadSimulationConfig(GUI.java:3428)
    at se.sics.cooja.GUI.loadSimulationConfig(GUI.java:3340)
    at se.sics.cooja.GUI.doLoadConfig(GUI.java:2397)
    at se.sics.cooja.GUI$4.run(GUI.java:636)
    at java.lang.Thread.run(Thread.java:745)
Caused by: se.sics.cooja.MoteType$MoteTypeCreationException: Error when creating corecomm instance: Lib4
    at se.sics.cooja.CoreComm.createCoreComm(CoreComm.java:343)
    at se.sics.cooja.contikimote.ContikiMoteType.doInit(ContikiMoteType.java:385)
    at se.sics.cooja.contikimote.ContikiMoteType.configureAndInit(ContikiMoteType.java:348)
    at se.sics.cooja.contikimote.ContikiMoteType.setConfigXML(ContikiMoteType.java:1389)
    at se.sics.cooja.Simulation.setConfigXML(Simulation.java:681)
    at se.sics.cooja.GUI.loadSimulationConfig(GUI.java:3410)
    ... 4 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at se.sics.cooja.CoreComm.createCoreComm(CoreComm.java:334)
    ... 9 more
Caused by: java.lang.UnsatisfiedLinkError: se.sics.cooja.corecomm.Lib4.init()V
    at se.sics.cooja.corecomm.Lib4.init(Native Method)
    at se.sics.cooja.corecomm.Lib4.<init>(Lib4.java:50)
    ... 14 more

我该怎么解决它呢?谢谢你,丹尼尔

EN

回答 1

Stack Overflow用户

发布于 2015-02-20 04:04:18

我发现了问题所在。有必要删除模拟为解决问题而创建的obj_cooja文件夹

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28548093

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档