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)
I think Maven simply didn't include the XML file from main/resources.
You could try to specify explicitly what to include in the pom.xml.
Let me know if the following configuration has worked:
true
src/test/resources
**/*.properties
**/*local.properties
src/main/resources
**/*.properties
**/*.xml
This is something I use in your case. You can edit this if you don't have properties files to be included.