Using PropertyOverrideConfigurer with Annotated Classes in Spring 3
问题 Edit : Here is some explanation of why the accepted answer works for me, and possibly what could be a problem for others. In my foo-app-servlet.xml, i have this line: <context:component-scan base-package="com.foo.app" /> When I used spring2 before, all my service beans came from applicationContext.xml, but now they are being brought in directly in the foo-app-servlet.xml. On my project servlets have their own set of overrides, so I need to override in the servlet override file instead of the