解决方案:测试包名和项目启动主类的包名必须一致
java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @Sp
关于No compiler is provided in this environment. Perhaps you are running
on a JRE rather than JDK?处理【替换为自己的jdk位置】
<!--start-->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<fork>true</fork>
<executable>
C:\Program Files\Java\jdk1.8.0_131\bin\javac.exe
</executable>
</configuration>
</plugin>
<!--end-->