zoukankan      html  css  js  c++  java
  • Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep

    Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep严 重: 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 'sqlSessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException 


    原来是spring版本的问题,MyBatis-Spring只能在spring3.0版本上使用,如果用spring3.0以下版本就会出现该问题,建议将spring升级为3.0或改用ibatis2.0!





  • 相关阅读:
    反射之初认识
    面向对象(上)练习一 改进:调用方法
    关于php中id设置自增后不连续的问题
    由于定界符引出的格式错误问题
    PHP 关于timezone问题
    2016.4.29 园子第一天,希望所有的坚持都有所收获
    递归调用
    动手动脑
    界面实验任务
    课程作业02
  • 原文地址:https://www.cnblogs.com/wang3680/p/ff6a9a58aecec2df458c622b12deef5c.html
Copyright © 2011-2022 走看看