EMF JET code generation & classnotfound error [message #418635] |
Tue, 22 April 2008 15:25 |
Eclipse User |
|
|
|
Originally posted by: yann.davin.gmail.com
Hi,
I'm trying to apply (JET) dynamics templates from my genmodel, but instead of generating code it generates
ClassNotFoundException exceptions.
Exceptions look like this one :
java.lang.ClassNotFoundException: org.eclipse.emf.codegen.ecore.templates.editor.Plugin_
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
...
Only the model generation works. Edit, Editor, and Tests fail.
I'm using Eclipse 3.4M5 with EMF 2.4.0.
Anybody had similar problem or (and) has idea to solve this problem ?
Regards,
Yann
|
|
|
|
Re: EMF JET code generation & classnotfound error [message #418641 is a reply to message #418638] |
Tue, 22 April 2008 16:02 |
Eclipse User |
|
|
|
Originally posted by: yann.davin.gmail.com
Ed Merks wrote:
> Yann,
>
> Try unfiltering .* resources in the dropdown menu of the nagivator or
> package explorer and have a look for compilation errors in the
> .JETEmitters project. Perhaps your specialized templates contain errors...
>
>
Ok, I've just deleted the .JETEmitters directory, regenerated everything, and it works fine now :)
>
> yann davin wrote:
>> Hi,
>>
>> I'm trying to apply (JET) dynamics templates from my genmodel, but
>> instead of generating code it generates ClassNotFoundException
>> exceptions.
>> Exceptions look like this one :
>> java.lang.ClassNotFoundException:
>> org.eclipse.emf.codegen.ecore.templates.editor.Plugin_
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> ...
>>
>> Only the model generation works. Edit, Editor, and Tests fail.
>>
>> I'm using Eclipse 3.4M5 with EMF 2.4.0.
>>
>> Anybody had similar problem or (and) has idea to solve this problem ?
>>
>> Regards,
>>
>> Yann
|
|
|
Powered by
FUDForum. Page generated in 5.04105 seconds