[Spring Boot] ERROR: IllegalArgumentException
Language : KO
Error Message
Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: No sources given; nested exception is java.lang.IllegalArgumentException: No sources given
원인
from 누락
fun findList(request: UserRequest): List<User> {
return select(User::class.java, user.id)
.fetch()
}
조치
fun findList(request: UserRequest): List<User> {
return select(User::class.java, user.id)
.from(user)
.fetch()
}