Hello,
I programmed some testcases which run perfectly under M1.x . I moved them to M2 recently. Unfortunately, I have some troubles with the classloading of surefire. My test configuration files are stored under the directory src/test/resources. They are named as applicationContext-**-test.xml
When I start mvn test, Spring doesn t load the right directory:

[DEBUG] PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [d:\java\src\javacommons\ccip-fk2\commons-lang\target\classes]
[DEBUG] CollectionFactory - Creating [java.util.LinkedHashSet]
[DEBUG] PathMatchingResourcePatternResolver - Searching directory [d:\java\src\j avacommons\ccip-fk2\commons-lang\target\classes] for files matching pattern [d:/
java/src/javacommons/ccip-fk2/commons-lang/target/classes/**/applicationContext-
test*.xml]

Normally, Spring should try to look for test configuration files under test-classes. I have already verified that all the files are present in this directory. I also tried to fork the process and to do the childDelegation. I have the same result

What can I do ?

Thanks for your help

Regards,
Alexandre Touret

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to