I'm having some difficulty with my unit tests in appfuse. I have a manager test that extends BaseManagerTestCase and uses a Manager bean defined in /src/main/webapp/WEB-INF/applicationContext.xml. When I try to run the unit test, I receive an error:
Unsatisfied dependency expressed trhough bean property. This is the same error that I receive before adding the bean definition into applicationContext.xml. I have found though that if I move the appliationContext.xml file from /src/main/webapp/WEB-INF/ to /src/main/resources that my unit tests can find it perfectly. I'm running into the same issue with dispatcher-servlet.xml in /src/main/webapp/WEB-INF with my unit test that extends BaseControllerTestCase, so it seems like jUnit tests are not able to find the xml files in WEB-INF. Is there a way to fix this through modifying the getConfigLocations on those base classes? Should I just move these xml files into the resources directory? I've been basically following the tutorial for now, so I was trying to leave them in WEB-INF as it stated. I'm using the regular SpringMVC AppFuse setup (not modular). Thanks for any advice. ~Colin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]