Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » org.eclipse.emf.teneo.hibernate.extra.jar
org.eclipse.emf.teneo.hibernate.extra.jar [message #496314] Mon, 09 November 2009 16:59 Go to next message
Andrew  is currently offline Andrew Friend
Messages: 5
Registered: November 2009
Junior Member
We are using EMF and Teneo in a standalone project. The following exception is occuring:

java.lang.ClassNotFoundException: org.eclipse.emf.teneo.hibernate.mapping.internal.TeneoIntern alEObject

I notice that this class is contained in org.eclipse.emf.teneo.hibernate.extra.jar which is itself contained in org.eclipse.emf.teneo.hibernate.jar. I have found that the exception goes away if I extract the hibernate.extra.jar from the other jar and put it in my /lib folder directly. Should I have to do this? Is it the correct approach or is there a better approach that is recommended?
Re: org.eclipse.emf.teneo.hibernate.extra.jar [message #496339 is a reply to message #496314] Mon, 09 November 2009 18:08 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Andrew,
Yes your approach is correct.

The reason that I had to use this separate jar is because of signing of jar files and cglib, the 'inner' jar file is not
signed and can therefore be used by cglib.

I will update the installation docs to explain this (and also describe your approach).

Btw, maybe you are using an older build, in later builds (last 2 months) the org.eclipse.emf.teneo.hibernate plugin is
in a folder containing the classes and this extra jar file. The latest 1.1 build is at build number 1.1.2 (see the
maintenance builds lower on the page here):
http://eclipse.org/modeling/emf/downloads/?project=teneo

gr. Martin

Andrew wrote:
> We are using EMF and Teneo in a standalone project. The following
> exception is occuring:
>
> java.lang.ClassNotFoundException:
> org.eclipse.emf.teneo.hibernate.mapping.internal.TeneoIntern alEObject
>
> I notice that this class is contained in
> org.eclipse.emf.teneo.hibernate.extra.jar which is itself contained in
> org.eclipse.emf.teneo.hibernate.jar. I have found that the exception
> goes away if I extract the hibernate.extra.jar from the other jar and
> put it in my /lib folder directly. Should I have to do this? Is it the
> correct approach or is there a better approach that is recommended?


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
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:make a single EObject transient
Next Topic:RDB Schema to Ecore
Goto Forum:
  


Current Time: Fri Apr 26 11:59:26 GMT 2024

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

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

Back to the top