You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
The below code throws the following error on Spring Boot 3.4.0 but not on Spring Boot 3.3.6:
java.lang.ClassCastException: class kotlin.Unit cannot be cast to class kotlin.Result (kotlin.Unit and kotlin.Result are in unnamed module of loader 'app')
The text was updated successfully, but these errors were encountered:
msotho
changed the title
Spring Webflux, R2DBC class cannot be cast to class kotlin.Result
Spring Webflux, R2DBC: class cannot be cast to class kotlin.Result
Nov 22, 2024
As far as I can tell, this is a regression in Spring Framework 6.2. The problem occurs with Spring Boot 3.3.6 when the Spring Framework version is overridden to 6.2.0:
ext {
set("spring-framework.version", "6.2.0")
}
We'll transfer this issue so that the Framework team can continue the investigation.
snicoll
transferred this issue from spring-projects/spring-boot
Nov 22, 2024
Problem:
The below code throws the following error on Spring Boot 3.4.0 but not on Spring Boot 3.3.6:
More details:
This seems to occur when I add the
spring-boot-starter-data-r2dbc
related dependenciesMinimal Repo: https://github.com/msotho/castissue.git
Includes a Unit Test:
The text was updated successfully, but these errors were encountered: