【发布时间】:2020-09-28 08:40:20
【问题描述】:
主要问题描述如下
[a bean of type 'org.springframework.web.context.WebApplicationContext' that could not be found]
我尝试了很多次,并且猜测添加一个 spring-boot-web-starter 可能会起作用,但是当我这样做时,又出现了另一个问题。
【问题讨论】:
-
请提供stackoverflow.com/help/minimal-reproducible-example 或添加更详细的代码sn-ps 关于您尝试过的内容。谢谢。
标签: testing junit spring-cloud gateway mockmvc