์—๋Ÿฌ๋ชจ์Œ

json ์œผ๋กœ ๊ฐ’์„ ๋ฐ›์œผ๋ฉด ํ‚ค์™€ ๊ฐ’ ์„ ๋งคํ•‘ํ•ด์„œ ์ด๋ฉ”์ผ์„ ์ „์†กํ•˜๋Š” ๊ธฐ๋Šฅ์„ ๊ฐœ๋ฐœํ•˜๊ณ  ์žˆ์—ˆ๋Š”๋ฐ ํ‚ค๋ฅผ ๊ณ„์† ๋ชป์ฐพ๋Š”๊ฒŒ ์ด์ƒํ•ด์„œ ํ™•์ธํ•ด๋ณด๋‹ˆ null ๊ฐ’์„ ๊ฐ€์ง„ ํ•„๋“œ๋Š” ์ œ์™ธํ•˜๊ณ  ์ง๋ ฌํ™”๋ฅผ ํ•˜๊ณ  ์žˆ์—ˆ๋‹ค. https://github.com/google/gson/blob/main/UserGuide.md#null-object-support ๊ธฐ๋ณธ์ ์œผ๋กœ Gson ์€ null ๊ฐ’์„ ๊ฐ€์ง„ ํ•„๋“œ๋ฅผ ์ œ์™ธํ•˜๊ณ  ์ง๋ ฌํ™” ํ•˜๊ณ  ์žˆ์–ด์„œ,, serializeNulls() ๋ฅผ ํ˜ธ์ถœํ•˜์—ฌ null ๊ฐ’์„ ํฌํ•จํ•˜๋Š” Gson ์ธ์Šคํ„ด์Šค๋ฅผ ์ƒ์„ฑํ•ด์•ผ ํ•œ๋‹ค. Gson gson = new GsonBuilder().serializeNulls().create(); String json = gson.toJson(exampleObject); ์™œ ๊ธฐ๋ณธ๊ฐ’์ด null ๊ฐ’์„ ์ œ..
ํ•˜ ๋‚ด ์‹œ๊ฐ„.... No property xxxx found for type xxx ๊ธฐ์กด์— ์žˆ๋˜ repository ์—์„œ ์ถ”๊ฐ€์ ์œผ๋กœ querydsl ์„ ์‚ฌ์šฉํ•˜๋ ค๊ณ  custom interface ์™€ impl class ๋ฅผ ์ƒ์„ฑํ–ˆ๋‹ค ๊ณ„์†ํ•ด์„œ ์Šคํ”„๋ง์ด ๋นˆ์„ ๋ชป์ฐพ์•„์„œ ๊ตฌ๊ธ€๋ง ํ•ด๋ณด๊ณ  ๋ฉ”์„œ๋“œ ์ด๋ฆ„๋„ ๋ฐ”๊พธ๋ฉฐ ์—ฌ๋Ÿฌ๊ฐ€์ง€ ์‹œ๋„ํ•˜๋‹ค๊ฐ€ ๋‹ค์Œ ๋ธ”๋กœ๊ทธ๊ธ€์„ ๋ฐœ๊ฒฌํ–ˆ๋‹ค. https://www.skyer9.pe.kr/wordpress/?p=6507 QueryDSL No property ๋ฉ”์†Œ๋“œ๋ช… found for type ์—”ํ„ฐํ‹ฐ๋ช…! – ์ƒ๊ตฌ๋ฆฌ์˜ ๊ธฐ์ˆ  ๋ธ”๋กœ๊ทธ QueryDSL No property ๋ฉ”์†Œ๋“œ๋ช… found for type ์—”ํ„ฐํ‹ฐ๋ช…! ํด๋ž˜์Šค๋ช… xxxRepository xxxRepositoryCustom xxxRepositoryImp..
๊นƒํ—ˆ๋ธŒ์— ์ต์ˆ™ํ•˜์ง€ ์•Š์•„์„œ ์ž๊พธ ๋ญ๊ฐ€ ํ‹€์–ด์ง€๋Š”์ง€ non-fast-forward ์˜ค๋ฅ˜๊ฐ€ ์ž์ฃผ ๋œฌ๋‹ค..... ใ… ใ… ใ… ใ… ์œผใ…์œผ์•„์œผใ…ใ…‡ Advanced...๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ๊ธฐ์กด์— ์žˆ๋˜๊ฑฐ ํœด์ง€ํ†ต ๋ˆŒ๋Ÿฌ์„œ ์‚ญ์ œํ•ด์ค€๋‹ค์Œ์— Source ref์— master๋กœ ์ถ”๊ฐ€ํ•ด์ค€๋‹ค. ๋งˆ์ง€๋ง‰์œผ๋กœ Marge์‹œ์ผœ์ฃผ๊ณ  Push!
Tomcat error) java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens https ์š”์ฒญ์„ ์‹œ๋„ํ•˜๋ ค๊ณ  ํ•  ๋•Œ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ์—๋Ÿฌ์ด๋‹ค. ํ†ฐ์บฃ ์ชฝ์—์„œ https์„ค์ •์„ ํ•ด์ฃผ์ง€ ์•Š์•˜๋Š”๋ฐ https๋กœ ์š”์ฒญํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ์—๋Ÿฌ์ด๋‹ค. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• 1. url์„ http๋กœ ๋ฐ”๊พธ๋ฉด ํ•ด๊ฒฐ๋œ๋‹ค. 2. ์„œ๋ฒ„ ํฌํŠธ๋ฅผ ๋ฐ”๊ฟ” ๋ณธ๋‹ค. 3. ํ”„๋กœ์„ธ์Šค๋ฅผ ์ฐพ์•„์„œ ์ข…๋ฃŒ์‹œํ‚จ๋‹ค.
์• ์ •์“ฐ
'์—๋Ÿฌ๋ชจ์Œ' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก