๐จ No property found for type ์ค๋ฅ ์์ธ
repository ํ์ผ์ ๋ฐ์ดํฐ๋ฅผ ์กฐํํ๋ ์ฟผ๋ฆฌ ๋ฉ์๋๋ฅผ ์์ฑํ๋ ๋ถ๋ถ์์ findBy ๋ค์์ ์ค๋ ํ๋๋ช ์ ์ธ๋๋ฐ(_)๊ฐ ์๊ธฐ ๋๋ฌธ์ ๋ฐ์ํ ์ค๋ฅ์ด๋ค
์ด๊ฒ ๋๋ฌธ์ ๋ช ์๊ฐ์ ๊ณ ์ํ๋์งใ
์ฐพ์๋ณด๋๊น ์ธ๋๋ฐ(_)๋ ๋ ํผ๋ฐ์ค ํ๋์ ํ๋กํผํฐ๋ฅผ ์กฐํํ๋ ์์ฝ์ด๋ก ์ฌ์ฉํ๊ณ ์์ด์ ์ฌ์ฉ์ด ๋ถ๊ฐ๋ฅํ๋ค๊ณ ํ๋ค
์ฐธ๊ณ
https://kisrin.tistory.com/96
[Spring] JPA - No Property Found for Type Exception
JPA๋ฅผ ์ฌ์ฉํ์ฌ ๊ฐ๋ฐ ์ค์ "No property xxx found for type xxxx!" ๋ผ๋ ์๋ฌ๊ฐ ๋จ๋ฉด์ ๊ณจ๋จธ๋ฆฌ๋ฅผ ์ฉํ๋ค.. xxx๋ ๊ฐ์ ๋ค๋ฅผ ์ ์๊ฒ ์ง๋ง.. underscore(_)๋ฅผ ์ํฐํฐ์ ๋ ํผ๋ฐ์ค ํ๋์ ํ๋กํผํฐ๋ฅผ ์กฐํํ๋ ์์ฝ์ด
kisrin.tistory.com
๐ ํด๊ฒฐ ๋ฐฉ์
์๋ ์ฌ์ง์ฒ๋ผ ํ๋๋ช ์ ์ธ๋๋ฐ ๋ค ์์ ์ฃผ๋ฉด ๋๋ค
[UserRepository ์ผ๋ถ ]
'SpringBoot' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Spring boot] ์ฐ๊ด ๊ด๊ณ ๋งคํ ์ ๋ฆฌ (0) | 2023.07.22 |
---|---|
[Spring boot] @RestController ์ ๋ฆฌ (0) | 2023.07.16 |
[Springboot] IntelliJ _compiler.automake.allow.when.app.running ์ ์ฉํ๊ธฐ (0) | 2023.05.17 |
[Springboot] package org.junit.jupiter.api does not exist ์๋ฌ (0) | 2023.05.11 |
[Springboot] com.mysema.codegen.model.type ์ค๋ฅ - maven (0) | 2023.05.11 |