일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- application.yml
- 추후정리
- Query
- 외부키
- 메소드명
- 네이티브쿼리
- subquery
- 서브쿼리
- MySQL
- 참조키
- foreignkey
- ㅔㄴ션
- 컨테이너실행
- 검색
- 메세지수정
- 포트
- appspec
- AuthenticationEntryPoint
- ubuntu
- appspec.yml
- 커밋메세지수정
- 2 > /dev/null
- docker명령어
- 예약
- WeNews
- EC2
- 테스트메소드
- querydsl
- 테스트
- 적용우선순위
Archives
- Today
- Total
제뉴어리의 모든것
@Builder 로 객체 생성할때 에러 본문
에러 메세지 :
reason: actual and formal argument lists differ in length
원인 :
@Builder와 @NoArgsConstructor를 함께 사용하면, 컴파일 시 에러가 발생한다.
해결 방법 :
@Builder를 적용한 Entity에
@AllArgsConstructor도 함께 달아주거나 모든 필드를 가지는 생성자를 손수 만들어 주면 된다.