当前位置: 代码迷 >> Java Web开发 >> 请教,在Junit测试时使用Spring的@ContextConfiguration注解如何会出现这样的出错
  详细解决方案

请教,在Junit测试时使用Spring的@ContextConfiguration注解如何会出现这样的出错

热度:102   发布时间:2016-04-12 23:16:02.0
请问,在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
  相关解决方案