Jacky.Zk 2016-05-23 08:54 采纳率: 0%
浏览 944

项目启动报错!!!求解~~~~~~~~~~~

2016-5-23 16:04:30 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.csic.app.common.auditlog.AspectLogger': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.csic.app.common.apply.service.UserService com.csic.app.common.auditlog.AspectLogger.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.csic.app.common.apply.service.UserService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.guotai.platform.access.intf.SecuritySubjectContext com.csic.app.common.apply.service.UserService.ssc; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.guotai.platform.access.intf.SecuritySubjectContext] 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)}

Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.csic.app.common.apply.service.UserService com.csic.app.common.auditlog.AspectLogger.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.csic.app.common.apply.service.UserService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.guotai.platform.access.intf.SecuritySubjectContext com.csic.app.common.apply.service.UserService.ssc; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.guotai.platform.access.intf.SecuritySubjectContext] 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)}

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.csic.app.common.apply.service.UserService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.guotai.platform.access.intf.SecuritySubjectContext com.csic.app.common.apply.service.UserService.ssc; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.guotai.platform.access.intf.SecuritySubjectContext] 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)}

Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.guotai.platform.access.intf.SecuritySubjectContext com.csic.app.common.apply.service.UserService.ssc; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.guotai.platform.access.intf.SecuritySubjectContext] 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)}

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.guotai.platform.access.intf.SecuritySubjectContext] 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)}

  • 写回答

1条回答 默认 最新

  • _阿健 2016-05-23 11:45
    关注

    注入的时候错了。把“private ”修饰的接口换成public

    评论

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料