0
java-app에서 프로그래밍 방식으로 ATL/EMFTVM 변환을 시작하려고합니다. 모듈 로딩 (execEnv.loadModule (mr, "moduleName")) 시점에서 모듈로드 중 오류를보고하는 예외가 발생합니다. 메타 모델 입력을 찾을 수 없습니다. 코드의emftvm 모듈로드 중 오류 : 메타 모델 입력을 찾을 수 없습니다.
조각 :
이ModuleResolver mr = new DefaultModuleResolver(transformationDir, resourceSet);
TimingData td = new TimingData();
execEnv.loadModule(mr, "moduleName");
td.finishLoading();
env.run(td);
td.finish();
이 예외 :
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)
사람이 좀 도와 주 시겠어요?