e:这已通过 Spring Boot 2.6.5 修复(请参阅https://github.com/spring-projects/spring-boot/issues/30243)
自从升级到 Spring Boot 2.6.X(在我的例子中:2.6.1)以来,我有多个项目现在在 Windows 上的单元测试失败,无法启动EmbeddedKafka,但在 Linux 上运行
有多个错误,但这是抛出的第一个错误
...
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: …Run Code Online (Sandbox Code Playgroud)