spring junit 测试配置文件引入问题

单个配置文件的引入spring

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

多个配置文件的引入app

@ContextConfiguration(locations = { "classpath*:/spring1.xml", "classpath*:/spring2.xml" })
相关文章
相关标签/搜索