最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin2浏览0评论

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?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论