Attempting to understand how to
test a controller using Spring MVC Test framework.
The controller runs on the server without a problem
however when running the test
An ApplicationContext load error is thrown
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0'
In order to run the tests I added org.springframework.test-3.2.0.RELEASE.jar to the build path to allow for import of org.springframework.test.context.web.WebAppConfiguration (@WebAppConfiguration). Using MyEclipse's 'Add Spring Runtime Dependencies' it already had in place org.springframework.test-3.0.0.RELEASE.jar though the WebAppConfiguration import wasn't working with that version.
this post
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-27149.html seemed like it was going to help resolve this issue however I haven't had any luck yet.
Any ideas?