java - Spring Boot Exception with spring.reactor.netty: Could not bind properties to 'ReactorNettyProperties' -

I'm getting this error during application startup as a results of Java 8 upgrade to Java 17.16:25

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744907423a4600340.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信