Spring Junit 读取WEB-INF下的配置文件
测试环境:Spring3.0.5 + Junit4.8.1
?
配置文件放在class目录下:
@ContextConfiguration(locations={"file:WebRoot/WEB-INF/spring.xml"})