-->
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: instantiating and configuring caches
PostPosted: Tue May 25, 2004 6:31 am 
Newbie

Joined: Mon May 24, 2004 6:07 am
Posts: 6
Hi

I have a problem with initializing hibernate (instantiating and configuring caches; ExceptionInInitializerError):

797 [main] DEBUG net.sf.hibernate.connection.DriverManagerConnectionProvider - returning connection to pool, pool size: 1
797 [main] INFO net.sf.hibernate.cfg.SettingsFactory - Use scrollable result sets: true
797 [main] INFO net.sf.hibernate.cfg.SettingsFactory - Query language substitutions: {no='N', true=1, yes='Y', false=0}
797 [main] INFO net.sf.hibernate.cfg.SettingsFactory - cache provider: net.sf.ehcache.hibernate.Provider
797 [main] INFO net.sf.hibernate.cfg.Configuration - instantiating and configuring caches
java.lang.ExceptionInInitializerError
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:739)
at demo.DemoMain.<init>(DemoMain.java:33)
at demo.DemoMain.main(DemoMain.java:44)
Caused by: java.lang.IllegalStateException: Cannot determine classloader
at net.sf.cglib.core.AbstractClassGenerator.getClassLoader(AbstractClassGenerator.java:165)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:176)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:177)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:149)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:142)
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:235)
... 3 more
Exception in thread "main"

It seems that there is a problem with the class-loader


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.