在使用spring-test 测试程序的时候读取不到applicationContext.xml配置文件 Caused by: org.springframework.beans.factory.Be

异常描述:

在使用spring-test 测试程序的时候读取不到applicationContext.xml配置文件

异常信息:

异常原因:

在测试类中引入配置文件的时候发生错误,最常见的错误是在locations中指定applicationcontext.xml路径时前没有加classpath:

解决方案:

解决人:

陈琪

备注:

 

 

 

猜你喜欢

转载自blog.csdn.net/chenqi_jiujie/article/details/83718878