在使用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.”这个异常web