[Teneo] No ClassDefFoundError EcoreResourceFactoryImpl on 3.4M4 [message #108341] |
Sat, 26 January 2008 06:45  |
Eclipse User |
|
|
|
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 06:33  |
Eclipse User |
|
|
|
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 06:33  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05445 seconds