
스프링 부트 롬복 entity 관련에러: Caused by: org.hibernate.AnnotationException: No identifier specified for entity: XXXX....
에러가 발생
확인하였더니..



@Id annotation import를
org.springframework.data.annotation.Id;
에서
javax.persistence
로 변경해야 한다.
'개발일지 > 오늘의 에러' 카테고리의 다른 글
spring batch meta data schema table 없다고 나올때 (0) | 2023.07.11 |
---|---|
MacOS 특정포트의 프로세스 킬 (1) | 2023.05.17 |
스프링부트 롬복 환경설정 필요 - 롬복 maven은 추가했으나 이클립스에 getter setter 뜨지 않을 때 (0) | 2022.04.24 |
Vue.js Router 설정 에러 export 'createElementBlock' (imported as '_createElementBlock') was not found in 'vue' (0) | 2022.02.19 |
vue create 명령 수행 시 vue : 이 시스템에서 스크립트를 실행할 수 없으므로 $경로$ 파일을 로드 할 수 없습니다. 에러 처리 (0) | 2022.02.05 |