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)
任何人都可以幫我嗎?