org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [FooController$BarController] 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 Spring JIRA by Tobias Mattsson, 1 year ago
No qualifying bean of type [FooController$BarController] is defined
via Spring JIRA by Tobias Mattsson, 1 year ago
No qualifying bean of type [FooController$BarController] is defined
via Stack Overflow by Yooga TweentyThree
, 1 year ago
No qualifying bean of type [com.local.service.DepartmentManagerImpl] is defined
via Stack Overflow by Renanlf
, 2 years ago
via Stack Overflow by javapadawan
, 2 years ago
No qualifying bean of type [com.company.engine.services.BaseDao] is defined
via tagwith.com by Unknown author, 2 years ago
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [FooController$BarController] is defined

Users with the same issue

Once, 22 hours ago
Once, 1 month ago
Once, 1 month ago
Once, 2 months ago
2 times, 5 months ago

Write tip

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