Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] No ClassDefFoundError EcoreResourceFactoryImpl on 3.4M4
[Teneo] No ClassDefFoundError EcoreResourceFactoryImpl on 3.4M4 [message #108341] Sat, 26 January 2008 11:45 Go to next message
Eclipse UserFriend
Originally posted by: tom.eiswind.de

HI I tried teneo on 3.4M4 today. Wanted to generated hbm files but it throws

Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/emf/ecore/xmi/impl/EcoreResourceFactoryImpl

at org.eclipse.emf.teneo.util.StoreUtil.readEPackages(StoreUtil .java:83)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:57)
at
org.eclipse.emf.teneo.hibernate.mapper.GenerateHBM.createORM apperFile(GenerateHBM.java:103)
at
org.eclipse.emf.teneo.hibernate.mapper.GenerateHBM.main(Gene rateHBM.java:78)

Am I missing something ? I think I have all the dependencies, installed
from the update site.
Re: [Teneo] No ClassDefFoundError EcoreResourceFactoryImpl on 3.4M4 [message #108518 is a reply to message #108341] Sun, 27 January 2008 11:33 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Thomas,
The right-click menu option (generate hibernate mapping) uses the classpath of the project in which
the ecore file resides. Can you check if the plugin dependencies of the project lists the
org.eclipse.emf.ecore.xmi plugin?

gr. Martin

Thomas wrote:
> HI I tried teneo on 3.4M4 today. Wanted to generated hbm files but it
> throws
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/emf/ecore/xmi/impl/EcoreResourceFactoryImpl
>
> at org.eclipse.emf.teneo.util.StoreUtil.readEPackages(StoreUtil .java:83)
> at
> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:57)
>
> at
> org.eclipse.emf.teneo.hibernate.mapper.GenerateHBM.createORM apperFile(GenerateHBM.java:103)
>
> at
> org.eclipse.emf.teneo.hibernate.mapper.GenerateHBM.main(Gene rateHBM.java:78)
>
>
> Am I missing something ? I think I have all the dependencies, installed
> from the update site.


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] No ClassDefFoundError EcoreResourceFactoryImpl on 3.4M4 [message #614105 is a reply to message #108341] Sun, 27 January 2008 11:33 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Thomas,
The right-click menu option (generate hibernate mapping) uses the classpath of the project in which
the ecore file resides. Can you check if the plugin dependencies of the project lists the
org.eclipse.emf.ecore.xmi plugin?

gr. Martin

Thomas wrote:
> HI I tried teneo on 3.4M4 today. Wanted to generated hbm files but it
> throws
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/emf/ecore/xmi/impl/EcoreResourceFactoryImpl
>
> at org.eclipse.emf.teneo.util.StoreUtil.readEPackages(StoreUtil .java:83)
> at
> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:57)
>
> at
> org.eclipse.emf.teneo.hibernate.mapper.GenerateHBM.createORM apperFile(GenerateHBM.java:103)
>
> at
> org.eclipse.emf.teneo.hibernate.mapper.GenerateHBM.main(Gene rateHBM.java:78)
>
>
> Am I missing something ? I think I have all the dependencies, installed
> from the update site.


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[Emfatic] Source
Next Topic:[Emfatic] Source
Goto Forum:
  


Current Time: Sat Apr 20 02:43:02 GMT 2024

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

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

Back to the top