I have the below mentioned Entity classes, when I execute my application I am getting the following exception. Some of the other similar questions didn\'t solve the problem.
I have resolved the issue by adding the following in web.xml
OpenEntityManagerInViewFilter org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter OpenEntityManagerInViewFilter /*
courtesy here and here
Thanks