본문 바로가기
회고록

개인 after 프로젝트 트러블 슈팅 모집.

by sehunbang 2024. 6. 6.

스케쥴 query dsl 적용했는데 해당 에러가뜸. 아마 DTO 에 noargs 나 requiredArgs 가 없어서 그런듯 하다.

java.lang.NoSuchMethodException: com.example.demo.dto.TeamDetailResponseDto.<init>()

https://velog.io/@hehedahe/java.lang.NoSuchMethodException-com.example.demo.dto.TeamDetailResponseDto.init

 

java.lang.NoSuchMethodException: com.example.demo.dto.TeamDetailResponseDto.<init>()

→ .selectFrom(team)일 경우 리턴 타입이 Team 이기 때문에 실패!→ Projections.fields()를 이용하여 필드에 직접 접근!→ java.lang.NoSuchMethodException: com.example.demo.dto.TeamDetai

velog.io

 

인덱스 적용

https://herojoon-dev.tistory.com/142

 

JPA Table에 Index 설정하기

목표 JPA Table에 Index 설정하기 단일 Index 지정 복합 Index 지정 Unique Index 지정 환경 Framework : Spring Boot 2.6.7 Build : Gradle 6.9.2 JDK : JDK11 해보기 ● Index 추가 전 JPA Entity ● Index 추가 후 JPA Entity 1. Index 추

herojoon-dev.tistory.com

 

 

 

raw password ca not be null

웹에서는 잘작동하는게 postman 으로 하니깐 작동을 안함.

https://okky.kr/questions/1162156

 

OKKY - 비밀번호 암호화시 rawPassword cannot be null 이 뜨네요..(내용수정)

아래와 같이 @Configuration 에서 Bean으로 등록을 했습니다. @Bean public PasswordEncoder passwordEncoder() { return PasswordEncoderFactories.createDelegatingPasswordEncoder(); } 사용하는 곳에서 아

okky.kr

 

 

'회고록' 카테고리의 다른 글

AWS RTMP 설치 방법 (EC2 or Light Sail) 우번투  (0) 2025.03.08
웹개발 실시간 방송. (Websocket,WEBRTC, RTMP, SRT)  (0) 2025.03.07
logging (Log4j2)  (1) 2024.04.18
레디스 (Redisson)를 이용한 분산락  (1) 2024.04.12
CQRS  (1) 2024.04.12