0
我尝试从java-app以编程方式启动ATL/EMFTVM转换。在模块加载时(execEnv.loadModule(mr,“moduleName”)),模块加载期间发生异常报告错误:找不到元模型输入。emftvm模块加载期间出错:未找到元模型输入
一段代码:
例外:
Exception in thread "main" org.eclipse.m2m.atl.emftvm.util.VMException: Error during module loading: Metamodel input not found
at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.loadModule(ExecEnvImpl.java:1265)
at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.loadModule(ExecEnvImpl.java:1217)
at ATLLauncher.launch(ATLLauncher.java:102)
at ServiceRunner.main(ServiceRunner.java:65)
Caused by: java.lang.IllegalArgumentException: Metamodel input not found
at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.findType(ExecEnvImpl.java:2061)
at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.findEClassifier(ExecEnvImpl.java:2141)
at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.registerFeature(ExecEnvImpl.java:1316)
at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.loadModule(ExecEnvImpl.java:1242)
任何人都可以帮我吗?