为什么简单的@WebMvcTest需要运行实体管理器?我有以下控制器测试 @WebMvcTest(Controller.class) private MockMvc mockMvc#493968a9' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager(Sp
(SpringApplication.java:758) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)at org.springframework.boot.SpringApplication.run(SpringApplicatio