Error creating bean with name 'loginUserServer': Injection of autowired dependen

qq_39714968 2017-08-28 09:30:12
Error creating bean with name 'loginUserServer': Injection of autowired dependencies

failed; nested exception is org.springframework.beans.factory.BeanCreationException:

Could not autowire field: private

cn.com.chinalife.open.bussiness.login.service.RegisterTologinService

cn.com.chinalife.open.bussiness.login.controller.LoginUserServer.registerTologinService;

nested exception is org.springframework.beans.factory.BeanCreationException: Error

creating bean with name 'registerTologinService': Injection of autowired dependencies

failed; nested exception is org.springframework.beans.factory.BeanCreationException:

Could not autowire field: private

cn.com.chinalife.open.ws.client.groupebp.appLogin.AppLoginWS

cn.com.chinalife.open.bussiness.login.service.impl.RegisterTologinServiceImpl.appLoginWS

; nested exception is org.springframework.beans.factory.BeanCreationException: Error

creating bean with name 'appLoginWS': Injection of autowired dependencies failed; nested

exception is org.springframework.beans.factory.BeanCreationException: Could not autowire

method: public

cn.com.chinalife.open.ws.client.groupebp.appLogin.portType.vo.resp.AppLoginResponse

cn.com.chinalife.open.ws.client.groupebp.appLogin.impl.AppLoginWSImpl.appLogin

(cn.com.chinalife.open.ws.client.groupebp.appLogin.portType.vo.req.AppLoginRequest);

nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No

qualifying bean of type

[cn.com.chinalife.open.ws.client.groupebp.appLogin.portType.vo.req.AppLoginRequest]

found for dependency: expected at least 1 bean which qualifies as autowire candidate for

this dependency. Dependency annotations: {}
...全文
307 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_39714968 2017-08-28
  • 打赏
  • 举报
回复
@gaussic
Freefish1994 2017-08-28
  • 打赏
  • 举报
回复
是不是没加@Service注解或者相应的注解
戎码一生灬 2017-08-28
  • 打赏
  • 举报
回复
创建loginUserServer失败bean
李德胜1995 2017-08-28
  • 打赏
  • 举报
回复
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [cn.com.chinalife.open.ws.client.groupebp.appLogin.portType.vo.req.AppLoginRequest] spring容器中没有AppLoginRequest这个Bean,检查一下是否加了注解而且扫描到了???

50,549

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧