转自:https://blog.csdn.net/pwh309315228/article/details/62226372

一般情况下:

 

  1. @ContextConfiguration(Locations="../applicationContext.xml")   

多个文件时,可用{}

    1. @ContextConfiguration(locations = { "classpath*:/spring1.xml", "classpath*:/spring2.xml" })  
posted on 2016-12-06 23:58  Sharpest  阅读(1583)  评论(0编辑  收藏  举报