Skip to content
Advertisement

Tag: spring-native

Spring Boot Docker Native image of Spring R2DBC application on Java 16 fails on unsupported methdod

I have a simple application built on top of org.springframework.boot:spring-boot-starter-parent version 2.5.4-SNAPSHOT and some derived dependencies: org.springframework.boot:spring-boot-starter-data-r2dbc org.springframework.boot:spring-boot-starter-webflux org.springframework.boot:spring-boot-starter-actuator io.r2dbc:r2dbc-postgresql I use org.springframework.experimental:spring-native version 0.10.3 to enable Spring Native and build using the following plugin: I build the image using ./mvnw.cmd spring-boot:build-image -Pnative-docker -DskipTests, I get assured Java 16 is bootstrapped correctly, and then the image exists (why it is

Advertisement