启动springboot报
Description:
A component required a bean of type 'org.hibernate.SessionFactory' that could not be found.
Action:
Consider defining a bean of type 'org.hibernate.SessionFactory' in your configuration.
求大神帮助,我快把网上的方法都试了一遍了,头发都快掉没了
启动springboot报
Description:
A component required a bean of type 'org.hibernate.SessionFactory' that could not be found.
Action:
Consider defining a bean of type 'org.hibernate.SessionFactory' in your configuration.
求大神帮助,我快把网上的方法都试了一遍了,头发都快掉没了
根据目前你所展示的配置及说明,我感觉是你的SqlSessionFactory在hibernate中没有配置好导致的,你的SqlSessionFactory配置没有贴出来,我只能猜测,你看看这个Demo,看看能不能帮到你http://www.cnblogs.com/soul-wonder/p/9052471.html