i\'ve problems in order to autowire a service in my controller. I\'ve this error:
org.springframework.beans.factory.BeanCreationException: Error creating bean wi
On first glance the config seems ok, yet there may be some smaller tripwires that might be not that obvious.
a) implemented UserService
interface, is it the same as the controller needs? Dumb question, I know, but just be on the safe side.
b) bean name: Try eradicating the value
-value (ba-da-tush) from the @Service
annotation, its superflous anyway. Or be more specific with the help of an @Qualifier
.
c) package scanning: Double check if your implemented service is really within es.unican.meteo
. Sometimes its the small things.