728x90
에러코드
Caused by: java.sql.SQLSyntaxErrorException: Can't DROP 'FKpvill444mvu6ace1wvwpc9iob'; check that column/key exists
원인
: 프로젝트에서 사용하지 않게된 엔티티(도메인)나 이름이 변경된 엔티티의 이전 이름에 해당하는 테이블이 DB에 잔존해서 발생
해결방법
: 바뀌거나 제거된 엔티티명에 해당하는 Table을 workbench에 들어가 Drop해주면 된다.
728x90
'Java & Spring > Error' 카테고리의 다른 글
| [SpringBoot] SpringSecurity와 React Axios 간의 JWT 인식문제 (0) | 2022.11.29 |
|---|---|
| [SpringBoot] hibernateLazyInitializer 및 순환참조 에러 (0) | 2022.11.19 |
| [SpringBoot] httpmessagenotwritableexception 에러 (0) | 2022.11.17 |
| [SpringBoot] DataIntegrityViolationException (0) | 2022.11.14 |
| [SpringBoot] Asciidoctor 인식 오류 (0) | 2022.11.06 |