整合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