Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF JET code generation & classnotfound error
EMF JET code generation & classnotfound error [message #418635] Tue, 22 April 2008 15:25 Go to next message
Eclipse UserFriend
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 #418638 is a reply to message #418635] Tue, 22 April 2008 15:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
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...



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


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF JET code generation & classnotfound error [message #418641 is a reply to message #418638] Tue, 22 April 2008 16:02 Go to previous message
Eclipse UserFriend
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
Previous Topic:[newbie]
Next Topic:Can't add EMF "interim" update site to 3.4M6
Goto Forum:
  


Current Time: Thu Apr 25 18:00:10 GMT 2024

Powered by FUDForum. Page generated in 5.04105 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top