[Spring JPA] No property found for type ๋ฐœ์ƒ ์›์ธ๊ณผ ํ•ด๊ฒฐ๋ฒ•
ยท
Project
No property 'recruit' found for type 'Recruit_Register'org.springframework.data.mapping.PropertyReferenceException:  ๐Ÿ’ฅ ํ”„๋กœ์ ํŠธ ์ค‘ DTO ↔ domain ๋งคํ•‘ ๊ณผ์ •์—์„œ ์œ„์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ์˜ค๋ฅ˜ ๋ฐœ์ƒ ์›์ธ์„ ํŒŒ์•…ํ•ด๋ณด๋‹ˆ ํ•„๋“œ๋ช…์˜ ๋ฌธ์ œ๊ฐ€ ์žˆ์—ˆ๋‹ค.ํ•„๋“œ๋ช…์— ์–ธ๋”๋ฐ”(_)๋ฅผ ์‚ฌ์šฉํ–ˆ๋Š”๋ฐ ์ด๋ฅผ ์‚ฌ์šฉํ•  ๊ฒฝ์šฐ, JPA ๋ฉ”์„œ๋“œ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†์„ ์ˆ˜ ์žˆ๋‹ค๋Š” ๊ฒƒ์ด๋‹ค. * ๊ธฐ์กด ์–ธ๋”๋ฐ” ํ‘œ๊ธฐ๋ฒ• @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long recruit_id; ๐Ÿ’ซ ๋”ฐ๋ผ์„œ ๊ธฐ์กด์˜ recruit_id ์—์„œ recruitId ๋กœ *์นด๋ฉœ ํ‘œ๊ธฐ..