ClassNotFoundException: org.eclipse.xtext.ecore.EcoreSupportStandaloneSetup [message #910464] |
Sun, 09 September 2012 19:09 |
|
Hello,
I have defined a grammar which is importing the Ecor metamodel.
I have an import line for the model in my grammar file.
I have a loadResource line in the language section of the generator component
I have a registerGenModelFile line and a registerGeneratedEPackage line in the StandaloneSetup bean.
And I get this exception:
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.emf.mwe2.language.factory.SettingProviderImpl$1$1.setValue(SettingProviderImpl.java:54)
... 37 more
Caused by: java.lang.NoClassDefFoundError: org/eclipse/xtext/ecore/EcoreSupportStandaloneSetup
at org.eclipse.xtext.generator.LanguageConfig.setUri(LanguageConfig.java:175)
... 42 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.xtext.ecore.EcoreSupportStandaloneSetup
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 43 more
Can any body tell my in which bundle I can find the missing class.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04485 seconds