阅读背景:

java.lang.IllegalStateException: Could not load TestContextBootstrapper [null]. Specify @BootstrapWi

来源:互联网 

在使用spring-test插件执行单元测试时,需要注意的是spring-webmvc的版本应该与spring-test的版本一致,否则在执行junit测试时就会出现“java.lang.IllegalStateException: Could not load TestContextBootstrapper [null]. Specify @BootstrapWith's 'value' attribute or make the default bootstrapper class available.”这个异常在使用spring-test插件执行单元测试时,需要注意的是spring-webmvc的版本应




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: