整合shiro报错:SessionFactory冲突

1、在配置shiro的配置文件的时候报错,查出原因就是下面这行导致的

报错信息:
Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to required type [org.apache.shiro.session.mgt.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found

应该是shiro中也定义了属性SessionFactory,但是注入的却是hibernate的sessionfactory

怎么解决呢

求教!!!!

http://www.oschina.net/question/1409924_151491

建议您看一下这个 http://www.oschina.net/question/1409924_151491