You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Neil B. Cohen" <nc...@verisign.com> on 2009/03/09 20:16:34 UTC

Hibernate Exception

Hi Ken - I forgot to include the version - it is Hibernate 3.2. I did 
include hibernate-entitymanager.jar...

Turns out, when I rebuilt my machine, I downloaded Netbeans, including 
Tomcat 6.0.18. On my Fedora 8 system, I had downloaded Tomcat 
separately, direct from apache.org. After trying several things (my 
thanks to Martin Gainty for his suggestions...) I ended up erasing the 
tomcat server (which was labeled 6.0.18) and I downloaded a new 6.0.18 
from apache.org. Untar'd that, re-deployed my application and it works 
fine...

So I'm assuming Sun customized their tomcat version somehow - I've sent 
them a bug report with as much info as I have - which isn't all that 
much... So I'm up and running again... Problem dodged, if not actually 
solved...

nbc



------------------------------------------------------------------------

Subject:
Re: Hibernate Exception...
From:
Ken Bowen <kb...@als.com>
Date:
Mon, 9 Mar 2009 13:16:57 -0400

To:
"Tomcat Users List" <us...@tomcat.apache.org>


Clearly you're missing org.hibernate.ejb.Ejb3Configuration (and friends).

I'm running hibernate 3.2 (you should tell people your versions...it 
helps).  My eclipse tells me that org.hibernate.ejb.Ejb3Configuration 
lives in
hibernate-entitymanager.jar.

I seem to recall there being an issue about getting all the dependent 
files together.  If you are relying on Fedora, you might find some 
mismatches in versions.

--Ken

On Mar 9, 2009, at 11:44 AM, Neil B. Cohen wrote:

Exception Details: * java.lang.NoClassDefFoundError
  Could not initialize class org.hibernate.ejb.Ejb3Configuration

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org