Я попытался загрузить файл конфигурации spring в путь к классам src/test/resources со следующим абстрактным классом:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"classpath:/applicationContext.xml"})
public class BaseIntegrationTests {
}
У меня есть файл applicationContext.xml в src/test/resources, но Spring не может его загрузить.
Спасибо.
/
, просто используйтеclasspath:applicationContext.xml
- person ant   schedule 09.04.2010