当从源代码(svn仓库)代码构建项目时,(包括junit测试用例) junit通过时没有任何错误。但是,当单独运行junit时,junit会失败。我已经添加了所有必要的jar文件。.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:148)
at org.junit.internal.runners.JUnit<
我已经使用WebMvcTest注释创建了一个简单的Junit测试用例。MediaType.APPLICATION_JSON))}java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.