首页 > 编程语言 > 详细

Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep

时间:2014-08-05 18:12:29      阅读:337      评论:0      收藏:0      [点我收藏+]
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!





Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep,布布扣,bubuko.com

Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep

原文:http://www.cnblogs.com/wang3680/p/ff6a9a58aecec2df458c622b12deef5c.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!