I'm having spring load a LocalSessionFactoryBean from a spring context file.
I upgraded my hibernate to 2.1 last night, now all is lost .... uh, yeah.

How do I turn off the ehcache completely, totally, and without pity?

   [junit] [INFO] Configuration - -instantiating and configuring caches
   [junit] ------------- ---------------- ---------------
   [junit]
   [junit] Testcase: testHibernateService took 3.015 sec
   [junit]     Caused an ERROR
   [junit] null
   [junit] java.lang.IllegalAccessError
   [junit]     at
net.sf.cglib.core.ClassEmitter.setTarget(ClassEmitter.java:87)
   [junit]     at
net.sf.cglib.core.ClassEmitter.<init>(ClassEmitter.java:79)
   [junit]     at
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:197)
   [junit]     at
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:
186)
   [junit]     at
net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:177)
   [junit]     at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:149)
   [junit]     at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:142)
   [junit]     at
net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:22
9)
   [junit]     at
net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:72
0)
   [junit]     at
org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(
LocalSessionFactoryBean.java:292)
   [junit]     at
org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet
(LocalSessionFactoryBean.java:246)
   [junit]     at
org.springframework.beans.factory.support.AbstractBeanFactory.callLifecycleM
ethodsIfNecessary(AbstractBeanFactory.java:964)
   [junit]     at
org.springframework.beans.factory.support.AbstractBeanFactory.createBean(Abs
tractBeanFactory.java:537)
   [junit]     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:211)
   [junit]     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:221)
   [junit]     at
TestHibernateService.testHibernateService(TestHibernateService.java:54)
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
   [junit]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
   [junit]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
   [junit]
   [junit] Testcase: testHibernateService
------------------------
Kevin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to