ybwhz
ybwhz
2012-09-25 13:19

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

  • spring
  • struts
  • 企业应用
  • hibernate

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条回答

为你推荐