일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- springboot
- jsonignore
- java.lang.nosuchmethoderror
- websecurityconfiguration
- Swagger
- bytebuddyinterceptor
- Today
- Total
목록전체 글 (22)
NOT FOUND

이스케이프 문자가 \로 설정되어 있어서 그랬던 거였다.이스케이프 문자를 변경해주고 해결.
인텔리에서 자주 발생하는 문제... mergh 후 boot 실행이 안 되었다. 1. gradle 전체 빌드2. re build후 해결했다. https://arc.net/l/quote/bitzkbbi
@MaxLength(10) filed: string | null 위 상황에서 "filed": null로 요청을 보냈을 때 BadRequest가 떨어졌다. 난 최대값만 제한했을 뿐인데 이게 뭔가 했었다. @MaxLength(10) @IsOptional() filed: string | null @IsOptional()을 추가해주고 해결했다.
async findByCategoryCode(category: string, page: number, size: number) { console.log(category); const test = await this.model.find({categoryCode: "C-1"}).explain().exec(); console.log(test); const test2 = await this.model.aggregate([ { $match: { categoryCode: "C-2" } } ]).exec(); console.log(test2); return this.model.find({'..

npm script 중 format을 잘못눌렀더니... 모든 파일의 포맷이 변경되었다. 1. 전체 프로젝트를 누른 후2. shift 두 번 (단축키)3. local history 로 돌아가면 이전 내역으로 되돌아갈 수 있다. 이도 시도해봤지만, 특정 파일들은 복구되지 않았다. 다행히도 intellij에서 해결 방법을 찾을 수 있었다.위에 바에서 Git -> 커밋되지 않은 변경 내용 -> 롤백을 누르면 커밋하지 않은 내용이 원상 복구된다. 친절하게도 롤백하지 않을 파일을 고를 수 있다.

https://docs.nestjs.com/security/authentication#login-route Documentation | NestJS - A progressive Node.js framework Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Progamming), FP (Functional Programming), and FRP (Functional Reac docs.nestjs.com nest js ..