728x90
Caused by: java.lang.NoSuchMethodError: 'java.lang.Object org.hibernate.ScrollableResults.get(int)'
QueryDsl 의 , 그룹화하여 받을 수 있는 transform + GroupBy 사용시 SpringBoot 3.x 버전에서 나오는 에러이다.
JPQLTemplates.DEFAULT 를 추가해주자.
@Configuration
class QueryDSLConfig(val entityManager: EntityManager) {
@Bean
fun jpaQueryFactory(): JPAQueryFactory {
return JPAQueryFactory(JPQLTemplates.DEFAULT,entityManager)
}
}
728x90
'일-상 > 오류노트' 카테고리의 다른 글
[오류노트] kotlin HttpMediaTypeNotAcceptableException (0) | 2024.11.19 |
---|---|
[오류노트] S3 이미지 URL 조회 권한 오류 (0) | 2024.11.13 |
[IntelliJ] 인텔리제이 메모리 점유율 낮추기 (0) | 2024.11.04 |
[오류노트] github Actions / ssh: unable to authenticate (0) | 2024.10.19 |
[오류노트] 실패한 요청을 재시도 하지 말자 DeadLetter queue (0) | 2024.09.05 |