我想使用作为Windows运行。它不能工作,因为WinRun4J找不到主类。我注意到这是因为spring maven-plugin收集了引导-INF文件夹中的源代码,并且无法访问那里的类。这是错误跟踪:[info] Registering natives for FFI class [err] Failed to initialise service: 1
java.lang.NoClassDefFoundError: Spring
ObjectMapper和ContextConfiguration)的情况下,从application.yml中的上下文设置中获取一个WebAppConfiguration实例的最佳方法是什么,只需在测试中加载最少数量的类我已经知道,要在application.yml(spring.jackson.xxx)中加载与杰克逊相关的配置,必须使用@Autowired a Jackson2ObjectMapperBuilder,为什么@SpringBootTest不加载application.yml spring.jackson.xx值?或者,为了