szerhusenBC/jwt-spring-security-demo

configuring with postgresql

vbiginner opened this issue · 2 comments

Hi Stephan, thanks for the great example.
Instead of using in-memory database I am using postgresql. I have configured it using the properties file as you mentioned in 'Readme'. But its not working. Getting error

Unable to construct current session context [org.springframework.orm.hibernate4.SpringSessionContext]
Caused by: java.lang.ClassNotFoundException: Could not load requested class : org.springframework.orm.hibernate4.SpringSessionContext.  

Googled lot about this, not getting the fix. Can you please suggest something..

Hmm. Hard to say. I never used postgresql with Spring. Maybe there is a tutorial on spring.io?

okay..Thanks for your response.