
[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 ๋ก *์นด๋ฉ ํ๊ธฐ..