org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/C:/yunlian/project/cloudsLotus/51itspace/admin/target/admin/WEB-INF/lib/common-1.0-SNAPSHOT.jar!/spring-hibernate.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by clouds.lotus
, 1 year ago
Error creating bean with name 'sessionFactory' defined in URL [jar:file:/C:/yunlian/project/cloudsLotus/51itspace/admin/target/admin/WEB-INF/lib/common-1.0-SNAPSHOT.jar!/spring-hibernate.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError
via Google Groups by Gian Carlo Pace, 5 months ago
Error creating bean with name 'org.riotfamily.common.web.filter.PluginFilterInitializer#0' defined in URL [jar:file:/opt/apps/gla ssfishv3/glassfish/domains/stage.gianka.it/applications/pvcomponents-cms/WEB-INF/lib/riot-common-9.0.1.jar!/META
via Stack Overflow by Boopathi
, 2 years ago
Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/dispactherServlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: TRACE
via cnblogs.com by Unknown author, 1 year ago
Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge]
via Stack Overflow by Chaymae
, 8 months ago
Error creating bean with name 'calculMathematiqueService' defined in URL [jar:file:/C:/Users/STG/Desktop/woork/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/perWeb/WEB-INF/lib/perService-2.0.jar!/applicationContext-simple-service.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
via Stack Overflow by Alex Luya
, 1 year ago
Error creating bean with name 'sqlSessionFactory' defined in URL [file:war/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/mybatis-config.xml] cannot be opened because it does not exist
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/C:/yunlian/project/cloudsLotus/51itspace/admin/target/admin/WEB-INF/lib/common-1.0-SNAPSHOT.jar!/spring-hibernate.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError
at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:278)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:504)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:488)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:187)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1048)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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