异常积累:java.lang.IllegalStateException: No value for key [com.gavin.datasource.M ultiSessionFactory@19fc33d] bound to thread [http-8080-10]

异常积累:java.lang.IllegalStateException: No value for key [com.gavin.datasource.M ultiSessionFactory@19fc33d] bound to thread [http-8080-10]

原因:有一个请求将 session .close;
解决办法:
将getSession().close();改为releaseSession(getSession());


Gavin

你可能感兴趣的:(异常积累:java.lang.IllegalStateException: No value for key [com.gavin.datasource.M ultiSessionFactory@19fc33d] bound to thread [http-8080-10])