
[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 λ‘ *μΉ΄λ© νκΈ°..