ITeye博客

.. UserService] found for dependency: expected at least 1 bean which qualifies a

cczzyc · 2015-11-11 17:32 · .. UserService] found for dependency: 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 · 编程语言 · Markdown

.. UserService] found for dependency: 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.

 

解决方案:

在serviceImpl 类上加注解

@Service()

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。