`
arron.huang
  • 浏览: 31700 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Context initialization failed

    博客分类:
  • Java
阅读更多

错误描述:
Context initialization failed

错误产生原因:

  spring注入出现问题:检测spring注入地方

     1.注解注入,

       是否有冲突

       是否该类无法注入

     2.配置文件

       检测需要注入的具体实现类中,是否需要注入对象set方法编写正确

 

具体错误内容中会产生

    注解注入错误,不容易看出具体哪个注入问题

    配置文件注入问题,可以通过看报错日志定位错误

      

 

分享到:
评论

相关推荐

    SSM(Spring+SpringMVC+MyBatis)整合实例(Maven)

    通过Maven构建的SSM整合框架,内含有war包,可直接放于Tomcat等服务器的工作环境下运行,注释全面,通俗易懂、

    S2SH整合报错

    ERROR main org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in...

    3DES标准算法库方便实现加解密

    #ifdef __cplusplus extern "C" { #endif /** * \brief DES context ... * \return 0 if successful, or 1 if the test failed */ int des_self_test( void ); #ifdef __cplusplus } #endif #endif /* des.h */

    spring框架进行简单的增加操作出现的错误,解决方法

    Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class ...

    com.springsource.org.objectweb.asm-3.2.0.jar

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customAreaService' defined in class path resource [applicationContext.xml]: Initialization of bean failed;...

    struts2驱动包

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested ...

    gertt点阵图读取器(opengl)

    MessageBox(NULL,"Release Rendering Context Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION); } hRC=NULL; // Set RC To NULL } if (hDC && !ReleaseDC(hWnd,hDC)) // Are We Able...

    opengl画图程序附带源代码

    MessageBox(NULL,"Release Rendering Context Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION); } hRC=NULL; // Set RC To NULL } if (hDC && !ReleaseDC(hWnd,hDC)) // Are We Able To Release The DC ...

    servlet2.4doc

    Notification that an existing attribute has been removed from the servlet context. attributeRemoved(ServletRequestAttributeEvent) - Method in interface javax.servlet.ServletRequestAttributeListener ...

    MFC与IP多播技术的局域网聊天器网络课程设计

    // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = ...

    php.ini-development

    PHP's initialization file, generally called php.ini, is responsible for ; configuring many of the aspects of PHP's behavior. ; ...

    Bochs - The cross platform IA-32 (x86) emulator

    - Implemented Process Context ID (PCID) feature - Implemented FS/GS BASE access instructions support (according to document from http://software.intel.com/en-us/avx/) - Rewritten from scratch SMC ...

Global site tag (gtag.js) - Google Analytics