2012-02-12 76 views
1

Iam試圖從簡單的ECORE生成XText語法。 林跟隨這turorial http://koehnlein.blogspot.com/2010/03/xtext-for-your-ecore-models.html 然而,當我嘗試運行生成的工作流其實我得到這個錯誤:從ECORE生成XText插件的麻煩

1 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri '/home /andrea/workspace' 
85 [main] ERROR mf.mwe2.launch.runtime.Mwe2Launcher - Problems instantiating module org.xtext.example.mydsl.MyDsl: java.lang.reflect.InvocationTargetException 
java.lang.RuntimeException: Problems instantiating module org.xtext.example.mydsl.MyDsl: java.lang.reflect.InvocationTargetException 
    at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:90) 
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:73) 
... 
.. 

什麼想法?

+0

請提供完整的堆棧跟蹤。 – 2012-04-02 09:30:19

回答

0

唯一的例外是關於「org.xtext.example.mydsl.MyDsl」這是一個默認的Xtext項目的語言名稱。

什麼的ECore類中定義你的語言的名稱?

我想這一定是相同的,至少存在。

+0

同名,它確實存在:) – Sindico 2012-10-12 20:21:10