Am very new to spring and JUnit. Am trying to run a simple JUnit test case for spring service class, but it fails and I get this exception.I didnt write any test yet, but t
Try this from https://stackoverflow.com/a/63215379/9225032:
Just check all spring dependencies versions. All should be same or at least new. Example:
org.springframework spring-orm 5.2.5.RELEASE org.springframework spring-tx 5.2.5.RELEASE org.springframework spring-webmvc 5.2.5.RELEASE