testExecute(com.abc.action.PasswordHintActionTest): Failed to load ApplicationContext
===

I am using Spring test framework for writing unit tests using maven as the build tool. i have put my applicationcontext.xml file in WEB-INF directory as shown below.


![enter image description here][1]

 i have put the same configuration files in the src/main/resources directory as well ( this is because , maven complain that it can not find these configuration files when it turns these test cases)



following is the error message i get when running maven clean install

![enter image description here][3]



this is how i load applicationcontext.xml file for unit tests

![enter image description here][2]

could anybody gave help me to find out why it is saying that it can not find these configuration files event when i have put those files.


  [1]: http://i.stack.imgur.com/4L8r7.png
  [2]: http://i.stack.imgur.com/rQUs7.png
  [3]: http://i.stack.imgur.com/CbfLj.png