Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Toto, 1 year ago
Error creating bean with name 'sessionFactory' defined in class path resource [conf/spring/dao-beans.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: net.sf.cglib.proxy.Enhancer.setInterceptDuringConstruction(Z)Vjava.lang.NoSuchMethodError: net.sf.cglib.proxy.Enhancer.setInterceptDuringConstruction(Z)V
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [conf/spring/dao-beans.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: net.sf.cglib.proxy.Enhancer.setInterceptDuringConstruction(Z)Vjava.lang.NoSuchMethodError: net.sf.cglib.proxy.Enhancer.setInterceptDuringConstruction(Z)V	at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)	at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)	at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)	at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)	at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)	at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:56)	at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)	at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)	at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)	at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)	at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:777)	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:703)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1058)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:81)	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:66)	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:57)	at net.stinfoservices.blob.BaseTestCase.setUp(BaseTestCase.java:39)	at net.stinfoservices.blob.BaseDatabaseTestCase.setUp(BaseDatabaseTestCase.java:75)	at net.stinfoservices.blob.dao.Table0DaoTestCase.setUp(Table0DaoTestCase.java:60)