ybwhz 2012-09-25 13:19
浏览 267
已采纳

sping 无法注入 ,请高手帮个忙

spring配置 文件 applicationContext.xml   

applicationContext_dexc.xml   

applicationContext_BussinessDIC.xml

 

applicationContext_BussinessDIC.xml中的bean配置 注入到 

applicationContext_BussinessDIC.xml中的bean中  无法注入 

 

 

exception

Unable to instantiate Action, wf_workFlowAction,  
defined for 'flow_index' in namespace '/workflow'Error creating bean with name 'wf_workFlowAction'  
defined in class path resource [applicationContext_workflow.xml]: 
Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'dexcSenderHandler' defined in class path resource [applicationContext_dexc.xml]: 
Initialization of bean failed; 
nested exception is org.springframework.beans.InvalidPropertyException: 
Invalid property 'dICouterdepartmentsService' of bean class [com.app.dexc.DexcSenderHandler]: 
No property 'dICouterdepartmentsService' found
    com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:306)
    

 

所有配置都没有错误就  出现这种错呀一般是什么原因啊????? 

  • 写回答

4条回答 默认 最新

  • iteye_5246 2012-09-25 13:27
    关注

    你有个类
    com.app.dexc.DexcSend*****
    中没有一个属性:dICouterdepartmentsService

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 一道python难题
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度