recently I have just checked new spring module called: spring-test (from Spring 3.2 - yes I know IDEA 12 has support for 3.1).
I created simple tests but I could not run theme from IDEA (ctrl + shift + F10).
The same tests I can run from:
- Eclipse STS and
- Netbeans 7.3,
- via mvn clean install or
- mvn test -Dtest=ControllerNameTest from terminal (cmd)
but when I run them from IDEA I get:
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.io.FileNotFoundException: src\main\webapp\WEB-INF\servlet-context.xml
I set context xml file path to:
Issue occures on:
- Windows 7
- IDEA 12
- Spring 3.2