No found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations:

后端 未结 13 825
时光说笑
时光说笑 2020-12-08 01:43

I am trying to write a SOAP service using Spring, however I receive a Dependency Injection issue. I\'m having problems using @Autowired through the Service like

13条回答
  •  再見小時候
    2020-12-08 02:08

    Could me multiple reason for this. But you want might forget to add as @Bean for component which you have did @Autowired.

    In my case, i have forgot to decorate with @Bean which causing this issue.

提交回复
热议问题