解决Spring框架使用Junit4测试出现的问题:java.lang.IllegalStateException: Failed to load ApplicationContext

NoSuchKey