You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

UNET IDE运行Slotted FAMA仿真遇MissingPropertyException错误求助

UNET中Slotted FAMA仿真运行报错求助

我在UNET中运行Slotted FAMA仿真时,创建SlottedFama类实例触发了MissingPropertyException错误。执行BenchmarkedScenario1Sim.groovy或其他示例仿真脚本时,报错信息如下:

groovy.lang.MissingPropertyException: No such property: containers for class: org.arl.fjage.DiscreteEventSimulator
Possible solutions: containers
groovy.lang.MissingPropertyException: No such property: containers for class: org.arl.fjage.DiscreteEventSimulator
Possible solutions: containers
BUG! exception in phase 'semantic analysis' in source unit 'C:\Users\syedm\Documents\unet-3.4.0\bin\S-FAMA\BenchmarkedScenario1Sim.groovy' The lookup for SlottedFama caused a failed compilation. There should not have been any compilation from this call.

错误指向脚本第107行的def macAgent = new SlottedFama(),疑似SlottedFama类不可用或导入错误。另外我在IDE中尝试导入其他脚本的类也无法成功,可能是导入方式存在问题。

我的环境配置:

  • Java版本:openjdk version "1.8.0_352",OpenJDK Runtime Environment (Temurin) build 1.8.0_352-b08
  • OpenJDK 64-Bit Server VM:Temurin build 25.352-b08,mixed mode
  • UNET版本:3.4.0

我已经导入了必要的类和依赖,也尝试过导入SlottedFama.groovy脚本,但错误依然存在。希望能协助排查并修复这个问题,让仿真正常运行。

内容的提问来源于stack exchange,提问作者Murtaza Rizvi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.06 10:15:27