-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Description
Bug Report for Spring Boot 3 Native (GraalVM 22.3)
Having a simple Spring Boot application (generated on start.spring.io) building the native image (via ./gradlew nativeCompile) fails to "process field ReactiveTypeHandler#isContextPropagationPresent" due to "SLF4JServiceProvider: LogbackServiceProvider not a subtype" error which doesn't make sense since the class is a subtype of the provider. The full log message is:
...
> Task :nativeCompile
...
Field org.springframework.core.ReactiveAdapterRegistry#mutinyPresent set to false at build time
Processing of field org.springframework.web.servlet.mvc.method.annotation.ReactiveTypeHandler#isContextPropagationPresent skipped due the following error : org.slf4j.spi.SLF4JServiceProvider: ch.qos.logback.classic.spi.LogbackServiceProvider not a subtype
Field org.springframework.boot.autoconfigure.web.format.WebConversionService#JSR_354_PRESENT set to false at build time
...
Also adding the io.micrometer:context-propagation doesn't change anything, still same error log.
To be clear, I'm not fully sure what are the consequence of the above, since I'm new to GraalVM. I'm filling this since the field seems to be directly in the handler. Also I'm not sure where exactly I need to post this issue. There's so many moving parts 🙂 here. Apologies in advance.
Let me know if I need to provide more information. Thanks.