While using Spring JPA you you can get "no qualifying bean of type" exception when you try to get the bean.
There may be several reasons for that. In my case the cause was the package. Your bean should be in the same package or in a subpackage of where you try to get the bean.
Providing a fully qualified name could also solve the problem.