Hi,
When I have this versions in pom file, there is no error and app runs:
<spring.security.version>5.0.0.RELEASE</spring.security.version>
<spring.version>5.0.3.RELEASE</spring.version>
<spring.webflow.version>2.5.0.RELEASE</spring.webflow.version>
<spring.ws.version>2.4.7.RELEASE</spring.ws.version>
<hibernate.version>5.1.1.Final</hibernate.version>
<hibernate.validator.version>5.2.4.Final</hibernate.validator.version>
But, I need Spring Security 5.8.7 and Spring 5.3.29 so, I updated pom file as:
<spring.security.version>5.8.7</spring.security.version>
<spring.version>5.3.29</spring.version>
After that I get this error:
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NoSuchMethodError: org.hibernate.Session.unwrap(Ljava/lang/Class;)Ljava/lang/Object; Caused by: java.lang.NoSuchMethodError: org.hibernate.Session.unwrap(Ljava/lang/Class;)Ljava/lang/Object;
What do I need to change, or something else?
Comment From: snicoll
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.