首页 > 代码库 > No bean named 'sessionFactory' is defined

No bean named 'sessionFactory' is defined

1、错误描述

严重:Servlet service() for servlet default threw exception .

          org.springframework.beans.factory.NoSuchBeanDefinition Exception:

          No bean named ‘sessionFactory‘ is defined.


2、错误原因


3、解决办法