Bean named 'sqlSessionFactory' must be of type org.mybatis.spring.SqlSessionFactoryBean
This post has NOT been accepted by the mailing list yet.
I am getting the following exception.
org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'sqlSessionFactory' must be of type [org.mybatis.spring.SqlSessionFactoryBean], but was actually of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory]
I configured sqlSessionFactory bean in applicationContext.xml like the following way.