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!





  • 相关阅读:
    Python ES操作
    SVN总结
    MongoDB问题总结
    MySQL
    PyQt小工具
    Python logging模块
    shell脚本
    cmd命令
    eclipse java 项目打包
    Robot Framework:failed: Data source does not exist.错误
  • 原文地址:https://www.cnblogs.com/wang3680/p/ff6a9a58aecec2df458c622b12deef5c.html
Copyright © 2011-2022 走看看