springboot测试类没有侧边启动运行按钮问题 原因很简单springboot版本问题,你的应该低于2.2 解决方法之一: 在类class前面加上权限修饰符public即可 @RunWith(SpringRunner.class) @SpringBootTest public class GulimallThirdPartyApplicationTests {