-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Open
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
Hello, I just upgraded Spring Boot's version from 3.5.4 to 4.0.0-M1 in my project and tests build failed with this stack trace:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springBootWebTestClientBuilderCustomizer' defined in class path resource [org/springframework/boot/test/autoconfigure/web/reactive/WebTestClientAutoConfiguration.class]
.
.
.
Caused by: java.lang.TypeNotPresentException: Type org.springframework.boot.http.codec.CodecCustomizer not present
My dependencies:
- spring-boot-starter-test
- spring-boot-starter-webmvc
- spring-boot-starter-security
I managed to bypass this error and by adding 'excludeAutoConfiguration = org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration.class'
in my @WebMvcTest annotation.
Metadata
Metadata
Assignees
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged