I'm getting this error during application startup as a results of Java 8 upgrade to Java 17.
16:25:59.823 [main] ERROR o.s.boot.SpringApplication - Application run failed
.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'spring.reactorty-.springframework.boot.autoconfigure.reactorty.ReactorNettyProperties': Could not bind properties to 'ReactorNettyProperties' : prefix=spring.reactorty, ignoreInvalidFields=false, ignoreUnknownFields=true
This is a snippet of what I have in my application.yml that is of relevance to spring.
spring:
main:
allow-circular-references: true
security:
scheme: form
require-ssl: true
oauth2:
...
Currently I'm using Spring 6.2.3, Spring Security 6.4.3 and Spring Webflux 6.2.3 with Spring Boot 3.4.3. The related netty package appears to be 4.1.118. As a means to stop the exception, I even tried an exclusion for SpringBootApplication
annotation with WebClientAutoConfiguration.class
but this didn't work. I've gone through all my dependencies to make sure no duplicate exist. Part of me believe this is a dependency issue but I can't find the culprit.
From what I understand, spring boot should automatically configure netty, at least that is what I thought. But I'm getting this exception and I'm not sure what is causing this.
Anyone know why this is happening or how to resolve this issue correctly?