This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Just trying to dig what you're actually trying to do. In your integration test, how do you bootstrap the container? What is the exception you get?

If you really want to instantiate the factory yourself MongoRepositoryFactory is the class you're looking for. Inside a Spring app (and thus inside Spring integration contexts we suggest usage of the namespace) so you are on the right track actually. I suspect there's something wrong in the ApplicationCOntext creation of your test setup. WOuld be helpful to know how you actually bootstrap the container.

Upon creation of the context the root cause of the exception that gets thrown is
Caused by: org.springframework.beans.factory.NoSuchBeanDefini tionException: No matching bean of type [net.flexcellence.redux.server.dao.impl.AssetReposi tory]