整合spring和mybatis的时候出错:Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException

加载applicationContext.xml时创建sessionFactory失败。

主要原因是包的版本问题,mybatis一定要3.0.6+,spring3+

目前测试下来没问题的版本:spring3.1.0,mybatis3.0.6

相关文章:

  • 2021-12-01
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-22
  • 2021-08-09
  • 2021-04-14
  • 2021-08-16
  • 2021-11-30
  • 2021-11-27
相关资源
相似解决方案