Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Damian, 8 months ago
via hibernate.org by Unknown author, 1 year ago
via Google Groups by Domin, 8 months ago
No CurrentSessionContext configured!
org.hibernate.HibernateException: No CurrentSessionContext configured!	at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:542)	at foo.bar.TestNGTest.testStuff(TestNGTest.java:19)	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:146)