org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventManager' defined in class path resource [eventSubsystemContext.xml]: Can't resolve reference to bean 'transactionManager' while setting property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [databaseSubsystemContext.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.HibernateException: CGLIB Enhancement failed

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 Atlassian JIRA by Lars Nielsen, 1 year ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is
via Atlassian JIRA by Lars Nielsen, 1 year ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is
via Atlassian JIRA by eric, 1 year ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is
via Atlassian JIRA by eric, 1 year ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is
via Atlassian JIRA by Lorenz Barth, 1 year ago
Error creating bean with name 'oracleLobHandler' defined in resource [/WEB-INF/applicationContext.xml] of ServletContext: Can't resolve reference to bean 'automaticJdbcExtractor' while setting property 'nativeJdbcExtractor'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventManager' defined in class path resource [eventSubsystemContext.xml]: Can't resolve reference to bean 'transactionManager' while setting property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [databaseSubsystemContext.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.HibernateException: CGLIB Enhancement failed

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.