org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.gemstone.gemfire.cache.client.ClientCache] is defined

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

,
Expert tip

You could me missing na annotation (@Service or @Component) or a definition in the xml. Also, look if the class where your implementation is located is properly scanned.

Solutions on the web

via GitHub by wilkinsona
, 5 months ago
No qualifying bean of type 'com.example.Gh9398Application$Foo' available
via GitHub by micjaesc
, 6 hours ago
No qualifying bean of type [org.springframework.cloud.stream.binder.Binder] is defined
via Stack Overflow by Jim C
, 3 months ago
No qualifying bean of type [org.springframework.scheduling.TaskScheduler] is defined
via GitHub by bhuvanalakshmi
, 1 year ago
No qualifying bean of type [.SampleDataMgmt] is defined
via GitHub by otrosien
, 10 months ago
No qualifying bean of type 'org.springframework.cloud.sleuth.instrument.web.HttpTraceKeysInjector' available
via Stack Overflow by Hank Hsieh
, 2 years ago
No qualifying bean of type [org.springframework.data.neo4j.template.Neo4jTemplate] is defined
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.gemstone.gemfire.cache.client.ClientCache] is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:372)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:369)
at org.springframework.data.gemfire.client.PoolFactoryBean.eagerlyInitializeClientCacheIfNotPresent(PoolFactoryBean.java:218)
at org.springframework.data.gemfire.client.PoolFactoryBean.getObject(PoolFactoryBean.java:171)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1590)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)

Users with the same issue

Once, 2 weeks ago
2 times, 3 months ago
31 times, 3 months ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
28 more bugmates

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