日期:2014-05-17  浏览次数:20804 次

请问,在Junit测试时使用Spring的@ContextConfiguration注解怎么会出现这样的出错?


Multiple markers at this line
- The type org.springframework.context.ApplicationContextInitializer cannot be resolved. It is indirectly referenced from required .class files
- The type org.springframework.context.ApplicationContextInitializer cannot be resolved. It is indirectly referenced from required .class files


求解决方案,更求原因。先谢了
Spring 测试 JUnit IT 解决方案

------解决方案--------------------
srccode