关于idea创建springboot项目后测试类报错问题

  创建一个springboot项目后,用configapplicationtest去测试,发现会报错,无法运行.提示无法运行

junit-platform-launcher1.5.2
  于是去百度了一下,导入依赖
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.5.2</version>
<scope>test</scope>
</dependency>
就可以成功运行了
posted @ 2020-02-11 11:49  从零开始的K  阅读(681)  评论(0)    收藏  举报