Seems that question old as world, but I still can\'t find out the solution..
I\'m trying to run simple test:
@RunWith(SpringJUnit4ClassRunner.class)
For some reason, I had the same issue and it worked when I ran maven test with the JDK6 instead of JDK8 (in my case this is a legacy application)
If it helps anyone.