Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- initializr
- auto ddl
- 테이블항목
- restful api 작성 방법
- jpa 연관관계
- Gradle - Groovy
- sendError()
- restful login 메소드
- 데이터베이스
- jpa
- restful 카멜케이스
- restful api 명세서
- 쿼리에러
- create 모드
- 아규먼트 리졸버
- 할일관리
- logout http 메소드
- intellij 속도 향상
- SpringBoot개인프로젝트
- 터미널 실행
- Intellij terminal jar
- 파이썬
- 알고리즘
- ERD 수정
- 테이블구성
- springboot mysql
- 연관관계
- Gradle - Kotlin
- 어노테이션
- springboot
Archives
- Today
- Total
목록sendError() (1)
리나 Dev토리
[트슈] IllegalStateException: Cannot call sendError() after the response has been committed
에러 할일들 목록에서 몇개를 선택하고 오늘날짜로 추가하고 나서 오늘 날짜 밑에 할일 목록을 뿌려주는 데서 IllegalStateException: Cannot call sendError() after the response has been committed StackOverflowError: null 위 에러가 나왔다. 원인 할일들 객체를 json으로 바꾸는 과정에서 연관관계 있는 todo와 user가 계속 서로를 참조하면서 재귀함수가 계속적으로 발생하여 stack 공간이 부족해져서 나온 에러이다. 해결 방법 @ManyToOne 연관관계가 매핑 되는 필드인 User 와 Category 에 @JsonIgnore를 붙여주면 순환 참조가 끊어지게 된다. 참고: https://zoetechlog.tistory...
SpringBoot 개인플젝(TodayMaker)
2023. 4. 6. 19:52