找不到扩展名NetLogo

时间:2017-10-02 14:39:25

标签: netlogo

我有一个使用NetLogo无头工作区的程序。

该程序工作正常,但当我添加和代码扩展[声音]

该程序引发了下面提到的错误。这似乎是目录的问题,但我无法找到错误。

任何帮助都会得到高度的认可。

C:\Users\cmartise\Desktop\ecj>java    -cp "C:\Users\cmartise\Documents\NetBeansProj
ects\prueba\build\classes\;C:\Program Files\NetLogo 6.0\app\*" prueba.Prueba
main
C:\Users\cmartise\Desktop\ecj\ec\app\model0
    Can't find extension: sound at position 12 in
        at org.nlogo.core.ErrorSource.signalError(ErrorSource.scala:11)
        at org.nlogo.workspace.ExtensionManager.importExtension(ExtensionManager
        .scala:186)
        at org.nlogo.parse.StructureParser$.$anonfun$parsingWithExtensions$1(Str
        uctureParser.scala:71)
        at org.nlogo.parse.StructureParser$.$anonfun$parsingWithExtensions$1$ada
        pted(StructureParser.scala:69)
        at scala.collection.immutable.List.foreach(List.scala:378)
        at org.nlogo.parse.StructureParser$.parsingWithExtensions(StructureParse
        r.scala:69)
        at org.nlogo.parse.StructureParser$.parseSources(StructureParser.scala:3
        5)
        at org.nlogo.parse.NetLogoParser.basicParse(NetLogoParser.scala:17)
        at org.nlogo.parse.NetLogoParser.basicParse$(NetLogoParser.scala:15)
        at org.nlogo.parse.FrontEnd$.basicParse(FrontEnd.scala:10)
        at org.nlogo.parse.FrontEndMain.frontEnd(FrontEnd.scala:27)
        at org.nlogo.parse.FrontEndMain.frontEnd$(FrontEnd.scala:25)
        at org.nlogo.parse.FrontEnd$.frontEnd(FrontEnd.scala:10)
        at org.nlogo.compile.CompilerMain$.compile(CompilerMain.scala:38)
        at org.nlogo.compile.Compiler.compileProgram(Compiler.scala:52)
        at org.nlogo.headless.HeadlessModelOpener.openFromModel(HeadlessModelOpe
        ner.scala:54)
        at org.nlogo.headless.HeadlessWorkspace.openModel(HeadlessWorkspace.scal
        a:530)
        at org.nlogo.headless.HeadlessWorkspace.open(HeadlessWorkspace.scala:497
        )
        at prueba.Prueba$1.run(Prueba.java:36)

0 个答案:

没有答案