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!





  • 相关阅读:
    POJ
    POJ
    HDU——1027Ignatius and the Princess II(next_permutation函数)
    HDU——1106排序(istringstream的使用、STLvector练习)
    HDU——2054A==B?
    HDU——2087剪花布条
    HDU——2064汉诺塔III
    HDU——2068RPG的错排(错排公式)
    HDU——1789Doing Homework again(贪心)
    HDU——2067小兔的棋盘(卡特兰数&递推DP)
  • 原文地址:https://www.cnblogs.com/wang3680/p/ff6a9a58aecec2df458c622b12deef5c.html
Copyright © 2011-2022 走看看