org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'DEFAULT': Invocation of init method failed; nested exception is java.lang.IllegalStateException: DiskStore named "DEFAULT" already exists


Solutions on the web19750

Solution icon of spring
via Spring JIRA by John Blum, 1 year ago
Error creating bean with name 'DEFAULT': Invocation of init method failed; nested exception is java.lang.IllegalStateException: DiskStore named "DEFAULT" already exists

Solution icon of spring
via Spring JIRA by John Blum, 1 year ago
Error creating bean with name 'DEFAULT': Invocation of init method failed; nested exception is java.lang.IllegalStateException: DiskStore named "DEFAULT" already exists

Solution icon of spring
via Spring JIRA by Manuel David, 1 year ago
Error creating bean with name 'distalStoreFast': Invocation of init method failed; nested exception is java.lang.IllegalStateException: DiskStore named "distalStoreFast" already exists

Solution icon of spring
via Spring JIRA by Manuel David, 1 year ago
Error creating bean with name 'distalStoreFast': Invocation of init method failed; nested exception is java.lang.IllegalStateException: DiskStore named "distalStoreFast" already exists

Solution icon of web
Error creating bean with name 'repository' defined in URL : Invocation of init method failed; nested exception is org.apache.jackrabbit.core.config.ConfigurationException: Workspace directory already exists: default

Solution icon of github
Error creating bean with name 'metricsConfiguration': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: A metric named jvm.memory.heap.committed already exists

Solution icon of stackoverflow
via Stack Overflow by Adel
, 1 year ago
Error creating bean with name 'metricsConfiguration': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: A metric named jvm.memory.pools.Code-Cache.usage already exists

Solution icon of github
Error creating bean with name 'metricsConfiguration': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: A metric named jvm.memory.heap.committed already exists

Solution icon of web
via com.br by Unknown author, 1 year ago
Error creating bean with name 'entityManagerFactoryCreator': Invocation of init method failed; nested exception is javax.persistence.PersistenceException: No Persistence provider for EntityManager named default

Solution icon of googlegroups
via Google Groups by Jordi Aranda, 2 months ago
Error creating bean with name 'geometryIndex': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Could not retrieve default Graph from GraphService. Check its configuration.

Stack trace

  • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DEFAULT': Invocation of init method failed; nested exception is java.lang.IllegalStateException: DiskStore named "DEFAULT" already exists at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:687) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83) at com.support.pivotal.spring.data.gemfire.examples.CacheServer.main(CacheServer.java:16) Caused by: java.lang.IllegalStateException: DiskStore named "DEFAULT" already exists at com.gemstone.gemfire.internal.cache.DiskStoreFactoryImpl.findExisting(DiskStoreFactoryImpl.java:169) at com.gemstone.gemfire.internal.cache.DiskStoreFactoryImpl.create(DiskStoreFactoryImpl.java:123) at org.springframework.data.gemfire.DiskStoreFactoryBean.afterPropertiesSet(DiskStoreFactoryBean.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1613) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550) ... 12 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.