(SOLVED) No Session found for current thread

Request processing failed; nested exception is org.hibernate.HibernateException: No Session found for current thread

Solution : If you have this exception using Hibernate , that mean that you forgot the annotation @Transaction in your service implement class function that caused this Exception.

Marwen Mselmi
Author: Marwen Mselmi

Founder of Javatuto.com, love Java and open source stuff. Follow me on Linkedin.

Leave a comment