问题描述:

org.springframework.boot.test.context does not exist

org.springframework.test.context.junit4.SpringJUnit4ClassRunner not exsit

SpringBoot启动时报如上两个错误。

Error:(5, 45) java: 程序包org.springframework.boot.test.context不存在 (超级好用,不好用,你找我)

设置IDEA中Setting中Runner上Delegate IDE build actions to Maven勾选上即可:

Error:(5, 45) java: 程序包org.springframework.boot.test.context不存在 (超级好用,不好用,你找我)

答案来自一个帖子评论的大神:
Error:(5, 45) java: 程序包org.springframework.boot.test.context不存在 (超级好用,不好用,你找我)

相关文章:

  • 2021-05-11
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2022-12-23
  • 2021-10-30
猜你喜欢
  • 2021-09-15
  • 2021-11-01
  • 2021-07-18
  • 2022-01-18
  • 2021-07-05
  • 2022-12-23
  • 2021-11-03
相关资源
相似解决方案