728x90 nested exception is org.hibernate.AnnotationException: No identifier specified for entity1 No identifier specified for entity 문제 해결 방법 No identifier specified for entity 문제 해결 방법 다음과 같은 오류가 발생하면.. nested exception is org.hibernate.AnnotationException: No identifier specified for entity: com.minji.site.domain.Member 해당 클래스의 @Id 어노테이션 항목을 살펴보자. @Id 어노테이션이 무엇을 import 하고 있는가? 만약 import org.springframework.data.annotation.Id가 import되어 있다면 다음과 같이 import javax.persistence.Id로 수정하면 에러 해결! import javax.persistence.Entity; import javax.p.. 2022. 8. 31. 이전 1 다음 728x90