YABAJ 2017-10-20 07:29 采纳率: 0%
浏览 1820

weblogic 12.1.3部署web项目报错

在weblogic上部署项目报错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'erpOracleController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.herysoft.expertsys.erp.dao.MaterialDicDao org.herysoft.expertsys.erp.controller.ErpOracleController.materialDicDao; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [org.herysoft.expertsys.erp.dao.MaterialDicDao] 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)}

Spring配置文件中声明的这个controller没有绑定成功

 <beans:bean id="erpOracleController" class="org.herysoft.expertsys.erp.controller.ErpOracleController" >
    </beans:bean>  

而在tomcat下是可以用的,为什么

  • 写回答

1条回答 默认 最新

  • qq_36664891 2018-08-21 07:13
    关注

    springjar没来起

    评论

报告相同问题?

悬赏问题

  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置