org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [spring-beans/akura-dataSource-bean.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring-beans/akura-dataSource-bean.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space

Stack Overflow | Asmaa Samir | 2 months ago
  1. 0

    Error launching Akura

    Stack Overflow | 2 months ago | Asmaa Samir
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [spring-beans/akura-dataSource-bean.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring-beans/akura-dataSource-bean.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space
  2. 0

    Out of memory java heap spcae with MySQL

    Stack Overflow | 3 years ago | John Collins
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.OutOfMemoryError with the HTML Reporter

    Google Groups | 3 years ago | SUBRAMANYESWARA RAO BHAVIRISETTY
    java.lang.reflect.InvocationTargetException

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.util.Arrays.copyOf()
    2. Java RT
      StringBuffer.append
      1. java.util.Arrays.copyOf(Arrays.java:2367)
      2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
      3. java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
      4. java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
      5. java.lang.StringBuffer.append(StringBuffer.java:237)
      5 frames
    3. Hibernate
      SingleTableEntityPersister.postInstantiate
      1. org.hibernate.sql.Select.toStatementString(Select.java:96)
      2. org.hibernate.loader.AbstractEntityJoinWalker.initStatementString(AbstractEntityJoinWalker.java:145)
      3. org.hibernate.loader.AbstractEntityJoinWalker.initStatementString(AbstractEntityJoinWalker.java:108)
      4. org.hibernate.loader.AbstractEntityJoinWalker.initAll(AbstractEntityJoinWalker.java:90)
      5. org.hibernate.loader.entity.EntityJoinWalker.<init>(EntityJoinWalker.java:75)
      6. org.hibernate.loader.entity.EntityLoader.<init>(EntityLoader.java:109)
      7. org.hibernate.loader.entity.EntityLoader.<init>(EntityLoader.java:71)
      8. org.hibernate.loader.entity.BatchingEntityLoader.createBatchingEntityLoader(BatchingEntityLoader.java:128)
      9. org.hibernate.persister.entity.AbstractEntityPersister.createEntityLoader(AbstractEntityPersister.java:1914)
      10. org.hibernate.persister.entity.AbstractEntityPersister.createEntityLoader(AbstractEntityPersister.java:1937)
      11. org.hibernate.persister.entity.AbstractEntityPersister.createLoaders(AbstractEntityPersister.java:3227)
      12. org.hibernate.persister.entity.AbstractEntityPersister.postInstantiate(AbstractEntityPersister.java:3191)
      13. org.hibernate.persister.entity.SingleTableEntityPersister.postInstantiate(SingleTableEntityPersister.java:728)
      13 frames
    4. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:348)
      1 frame
    5. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872)
      1 frame
    6. Hibernate
      AbstractSessionFactoryBean.afterPropertiesSet
      1. org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)
      2. org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
      3. org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
      3 frames
    7. Spring Beans
      BeanDefinitionValueResolver.resolveReference
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      9. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
      9 frames