spring-boot: ClassCastException post upgrade to 2.6.6
I did upgrade from 2.5.7(jdk-8) to 2.6.6(jdk-11)
I see the below class cast exception ::
java.lang.ClassCastException: class org.springframework.data.couchbase.repository.support.CrudMethodMetadataPostProcessor$DefaultCrudMethodMetadata cannot be cast to class org.springframework.data.jpa.repository.support.CrudMethodMetadata (org.springframework.data.couchbase.repository.support.CrudMethodMetadataPostProcessor$DefaultCrudMethodMetadata and org.springframework.data.jpa.repository.support.CrudMethodMetadata are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @8bd1b6a)
at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:153)
any suggestions?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (7 by maintainers)
@jorgerod the current plan is to ship service releases on June, 20th. You can find all Spring release dates in the release calendar at calendar.spring.io.
The fix is indeed in 4.4.0 https://github.com/spring-projects/spring-data-couchbase/commit/f6944a78fba42bf546bc9c4beaf1ac0558709df6