I've tried searching around the web and these forums for a solution to my problem, but nothing is working out.
I have a seemingly not uncommon problem - my tests run successfully in Eclipse using "Run As > JUnit Test", but "maven clean test" produces failures and errors.
First, some setup info:
in my pom.xml dependencies
and my surefire config (the one that is closest to working, as measured by number of failures and errors)
and test classes are annotated thus:
I've been trying for 2 days to figure out what's going on. Anyone have any ideas on what I can try? There's no extra versions of Spring or JUnit when I run "mvn dependency:tree", everything compiles fine, and I see logging output from the SpringJUnit4ClassRunner class, so it's being invoked (I have a log4j.properties in src/test/resources that sends all logging output to target/test.log).
//ApplicationContext will be loaded from "classpath:/services/spring/sdk/service/TestServiceAspect-context.xml"