org.springframework.beans.factory.BeanCreationException: Error creating bean with name \\\’sessionFactory\\\’ defined in ServletContext resource [/WEB-INF/classes/config/spring/beans/HibernateSessionFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space

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 adictosaltrabajo.com by Unknown author, 1 year ago
Error creating bean with name \\\’sessionFactory\\\’ defined in ServletContext resource [/WEB-INF/classes/config/spring/beans/HibernateSessionFactory.xml]: Instantiation of bean failed; nested exception is
via adictosaltrabajo.com by Unknown author, 2 years ago
Error creating bean with name \\\’sessionFactory\\\’ defined in ServletContext resource [/WEB-INF/classes/config/spring/beans/HibernateSessionFactory.xml]: Instantiation of bean failed; nested exception is
via wordpress.com by Unknown author, 1 year ago
Error creating bean with name ‘dataSource’ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool
via Stack Overflow by swemon
, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [spring/database/Hibernate.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError
via Stack Overflow by vipin cp
, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [spring/database/Hibernate.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class
via greatknow.com by Unknown author, 2 years ago
Error creating bean with name 'odm2AclfMapper' defined in class path resource [org/interpss/spring/ODMMapperSpringCtx.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/ieee/odm/schema/IDRefRecordXmlType
org.springframework.beans.factory.BeanCreationException: Error creating bean with name \\\’sessionFactory\\\’ defined in ServletContext resource [/WEB-INF/classes/config/spring/beans/HibernateSessionFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)

Users with the same issue

23 times, 1 year ago
4 times, 1 year ago
10 times, 1 year ago
5 times, 1 year ago
11 times, 1 year ago
35 more bugmates

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