I have to execute Unit test on one of my Dao classes using Spring. Here is my unit test:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locati
In my case it was a version conflict caused by activemq-all. That dependency (5.12.2 in my case) includes an incompatible version of spring (I just upgraded to spring 4.3.4). So, save yourself a few hours of debugging and check not only the Dependency Hierarchy in your favorite IDE, but also look inside those jar files to see if any are embedding org.springframework packages.