org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cardViewController': Unsatisfied dependency expressed through field 'dashboardService': Error creating bean with name 'dashboardServiceImpl': Unsatisfied dependency expressed through field 'signupInfoService': Error creating bean with name 'signupInfoServiceImpl': Unsatisfied dependency expressed through field 'signupInfoRepository': No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'signupInfoServiceImpl': Unsatisfied dependency expressed through field 'signupInfoRepository': No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dashboardServiceImpl': Unsatisfied dependency expressed through field 'signupInfoService': Error creating bean with name 'signupInfoServiceImpl': Unsatisfied dependency expressed through field 'signupInfoRepository': No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'signupInfoServiceImpl': Unsatisfied dependency expressed through field 'signupInfoRepository': No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

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

Springboot auto-configuration is disabled when you try to use WebMvcConfigurerAdapter and @EnableWebMvc. If WebConfig is not of the essence, remove it and use SpringBoot auto-configuration.

,
Expert tip

If you want to keep using @EnableWebMvc annotation, you have to add the code on the first answer of this page: https://goo.gl/JoHTKU to your code

Solutions on the web

via GitHub by narup
, 1 year ago
[com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is
via Coderanch by sam liya, 4 months ago
': Unsatisfied dependency expressed through field 'xxxxxxRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xxxxxxRepository': Invocation of init method failed; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property findAllObj found for type MySpace!
via Stack Overflow by Midoen
, 1 year ago
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.jdbc.core.JdbcTemplate] found for dependency [org.springframework.jdbc.core.JdbcTemplate]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
via Stack Overflow by jakub.petr
, 11 months ago
[me.factorify.common.security.authentication.AuthenticationService]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true
via GitHub by carnellj
, 4 months ago
[com.thoughtmechanix.licenses.clients.OrganizationRestTemplateClient]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true
via Stack Overflow by shroq
, 8 months ago
exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.hazelcast.core.HazelcastInstance] found for dependency [com.hazelcast.core.HazelcastInstance]: expected at least 1 bean which qualifies as autowire
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cardViewController': Unsatisfied dependency expressed through field 'dashboardService': Error creating bean with name 'dashboardServiceImpl': Unsatisfied dependency expressed through field 'signupInfoService': Error creating bean with name 'signupInfoServiceImpl': Unsatisfied dependency expressed through field 'signupInfoRepository': No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'signupInfoServiceImpl': Unsatisfied dependency expressed through field 'signupInfoRepository': No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dashboardServiceImpl': Unsatisfied dependency expressed through field 'signupInfoService': Error creating bean with name 'signupInfoServiceImpl': Unsatisfied dependency expressed through field 'signupInfoRepository': No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'signupInfoServiceImpl': Unsatisfied dependency expressed through field 'signupInfoRepository': No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.app.repository.api.SignupInfoRepository] found for dependency [com.app.repository.api.SignupInfoRepository]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
at com.app.MainApplication.main(MainApplication.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)

Users with the same issue

2 times, 4 days ago
2 times, 1 week ago
Once, 7 months ago
24 times, 7 months ago
Once, 1 year ago

Write tip

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