In IDE Netbeans I've created a test class with annotations
@ContextConfiguration(locations = {"classpath:spring/spring-test.xml"})
@RunWith(SpringJUnit4ClassRunner.class).
In Test Packages folder I've create folder spring/spring-test.xml with configuration. But when I've try to run this test file I've got java.lang.IllegalStateException: Failed to load ApplicationContext. What am I doing wrong and how to fix it?
Thanks
Aucun commentaire:
Enregistrer un commentaire