Could not load TestContextBootstrapper [null]. Specify @BootstrapWith's 'val
来源:互联网 发布:揭阳网络广告公司 编辑:程序博客网 时间:2024/06/08 10:39
基于SpringBoot+maven搭建的后台项目,在打包的过程中报Could not load TestContextBootstrapper [null]. Specify @BootstrapWith's 'val的问题,通过参考相关资料,如:
http://blog.csdn.net/u013939884/article/details/70214093。猜测可能是Spring的版本和Spring-test的版本不一致的原因导致。基于此猜想,做了如下变化
改前:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId>
<version>Release</version></dependency>
改后:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId></dependency>
经过如上变化后,就可以正常打包了.
阅读全文
0 0
- Could not load TestContextBootstrapper [null]. Specify @BootstrapWith's 'val
- java.lang.IllegalStateException: Could not load TestContextBootstrapper [null]. Specify @BootstrapWi
- java.lang.IllegalStateException: Could not load TestContextBootstrapper [null]. Specify @BootstrapWi
- “startup_stm32f40_41xxx.s” could not be opened/could not load file“***.axf”
- Could not load properties
- Could not load the "null" image referenced from a nib in the bundle with identifier ""
- could not load a entity
- Could not load taglib information
- Could not load native libraries
- Could not load file or assembly system.data.sqlite.dll or one for it's depedencies
- Could not load 'esri.nls.jsap_zh-cn'
- Android 2.2: Could not load 'clearsilver-jni'
- Could not load java.net.BindException
- Could not load the Tomcat server configuration
- Could not load file or assembly
- Could not load the Tomcat server configuration
- Could not load type 'System.DateTimeOffset'
- could not load an entity问题
- leetcode 363. Max Sum of Rectangle No Larger Than K 动态规划DP + 暴力循环
- POJ 2186 Popular Cows 笔记
- 如何解决maven搭建项目的时候,src/main/java无法建立的问题,提示信息The folder is already a source folder.
- qt不同窗口之间的切换
- 简单利用RecyclerView实现ListView的点击事件
- Could not load TestContextBootstrapper [null]. Specify @BootstrapWith's 'val
- ie的png透明图片兼容性问题
- js鼠标滚动 mousewheel
- JS各循环的差别
- SystemUI 剖析
- 华为1
- spring 注解
- mvp框架的简单使用
- 批量处理linux java -jar jar服务模块脚本