-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Error in Sun App Server 8.1 with Hibernate 2.17c
PostPosted: Fri Apr 01, 2005 7:43 am 
Newbie

Joined: Fri Jan 07, 2005 3:57 am
Posts: 16
Hi,

I have developed a little applicattion with Struts 1.2.4 + Hibernate 2.1.7c and works well with Tomcat 5, but with Sun App Server 8.1 2005Q1, doesn`t work. it reads well the initilization file, but when it goes to run the first query, I obtain an error ClassNotFoundException in a class of cglib.jar, but doesn't say which class. The error is the next:

Caused by: java.lang.NoClassDefFoundError
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:237)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:796)
at utils.HibernateUtil.<clinit>(HibernateUtil.java:25)
... 42 more

Has somebody work with hibernate + Sun App Server? Has had anybody the same problem?

Best Regards

Rodolfo


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.