关于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>
就可以成功运行了

猜你喜欢

转载自www.cnblogs.com/clksdk/p/12294398.html
今日推荐