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

  1. ,
    via oracle.com by Unknown author

    An easy way to solve OutOfMemoryError in java is to increase the maximum heap size by using JVM options -Xmx512M, this will immediately solve your OutOfMemoryError.

  2. ,
    via Stack Overflow by Eugene Yokota

    In Eclipse : go to Run --> Run Configurations --> then select the project under maven build --> then select the tab "JRE" --> then enter -Xmx1024m.

    This should increase the memory heap for all the builds/projects. The above memory size is 1 GB.

Solutions on the web

via coderanch.com by Unknown author, 2 years ago
Error creating bean with name 'ClienteService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'ClienteDAO' while setting bean property 'clienteDao'; nested exception is
via coderanch.com by Unknown author, 1 year ago
Error creating bean with name 'ClienteService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'ClienteDAO' while setting bean property 'clienteDao'; nested exception is
via coderanch.com by Unknown author, 1 year ago
Error creating bean with name 'ClienteService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'ClienteDAO' while setting bean property 'clienteDao'; nested exception is
via coderanch.com by Unknown author, 1 year ago
Error creating bean with name 'checkDaoImpl' defined in ServletContext resource [/WEB-INF/spring.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is
via Coderanch by santiagoruiz Ruiz, 1 year ago
Error creating bean with name 'ClienteService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'ClienteDAO' while setting bean property 'clienteDao'; nested exception is
via Coderanch by santiagoruiz Ruiz, 1 year ago
Error creating bean with name 'ClienteService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'ClienteDAO' while setting bean property 'clienteDao'; nested exception is
java.lang.OutOfMemoryError: Java heap space	at java.util.Arrays.copyOf(Arrays.java:2367)	at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)	at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)	at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)	at java.lang.StringBuffer.append(StringBuffer.java:237)	at org.hibernate.sql.Select.toStatementString(Select.java:96)	at org.hibernate.loader.AbstractEntityJoinWalker.initStatementString(AbstractEntityJoinWalker.java:145)	at org.hibernate.loader.AbstractEntityJoinWalker.initStatementString(AbstractEntityJoinWalker.java:108)	at org.hibernate.loader.AbstractEntityJoinWalker.initAll(AbstractEntityJoinWalker.java:90)	at org.hibernate.loader.entity.EntityJoinWalker.(EntityJoinWalker.java:75)	at org.hibernate.loader.entity.EntityLoader.(EntityLoader.java:109)	at org.hibernate.loader.entity.EntityLoader.(EntityLoader.java:71)	at org.hibernate.loader.entity.BatchingEntityLoader.createBatchingEntityLoader(BatchingEntityLoader.java:128)	at org.hibernate.persister.entity.AbstractEntityPersister.createEntityLoader(AbstractEntityPersister.java:1914)	at org.hibernate.persister.entity.AbstractEntityPersister.createEntityLoader(AbstractEntityPersister.java:1937)	at org.hibernate.persister.entity.AbstractEntityPersister.createLoaders(AbstractEntityPersister.java:3227)	at org.hibernate.persister.entity.AbstractEntityPersister.postInstantiate(AbstractEntityPersister.java:3191)	at org.hibernate.persister.entity.SingleTableEntityPersister.postInstantiate(SingleTableEntityPersister.java:728)	at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:348)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872)	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)	at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)