After upgrading the dropwizard to 2.0.25, I am started getting this exception in the methods having @unitOfwork annotations ,
Can you help me out to rectify these errors ? why I am getting these errors now ?
Caused by: java.lang.IllegalStateException: Existing session transaction state (false) does not match requested (true)
at io.dropwizard.hibernate.UnitOfWorkAspect.validateSession(UnitOfWorkAspect.java:178)
at io.dropwizard.hibernate.UnitOfWorkAspect.beforeStart(UnitOfWorkAspect.java:85)