반응형 spring32 [Spring] The bean 'delegatingApplicationListener' 에러 해결 방법 🚨 application run 시 발생한 에러 메시지*************************** APPLICATION FAILED TO START *************************** Description: The bean 'delegatingApplicationListener', defined in class path resource [hello/sns/configuration/AuthenticationConfig.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/security/config/annotation/w.. 2024. 5. 28. [ Spring ] TransientPropertyValueException 에러 해결 방법 💥 application run 시 발생한 에러 메시지Error creating bean with name 'initDb': Invocation of init method failedCaused by: java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : jpabook.jpashop.domain.OrderItem.item -> jpabook.jpashop.domain.item.ItemCaused by: org.hibernate.TransientP.. 2024. 5. 20. [MySQL] Error Code:3730. Cannot drop table 오류 해결 방법 🚨 MySQL drop table 시 발생한 에러 메시지Error Code:3730. Cannot drop table '테이블명'... ❓에러 발생 이유A테이블을 참조하고 있는 B테이블이(FK) 존재하여 A테이블이 삭제되지 않는 상황입니다. ✅ 해결 방법A테이블을 삭제하는 방법은 2가지 입니다.1. B테이블을 삭제한 후 A테이블을 삭제2. FK 설정 비활성화 후 A테이블을 삭제아래 SQL문을 확인해 주세요. B테이블을 삭제한 후 A테이블을 삭제A테이블을 참조하고 있는 B테이블 삭제drop table 'B테이블';A테이블 삭제drop table 'A테이블'; FK 설정 비활성화 후 A테이블을 삭제# FK 설정 비활성화SET foreign_key_checks = 0;# A테이블 삭제drop table '.. 2024. 4. 15. [QueryDSL] Parameter 0 of constructor in ArticleRepositoryCustomImpl required a bean of type 'java.lang.Class' that could not be found. 에러 해결 방법 🚨 Application run 시 발생한 에러 메시지Description:Parameter 0 of constructor in com.example.demo.repository.querydsl.ArticleRepositoryCustomImpl required a bean of type 'java.lang.Class' that could not be found.Action:Consider defining a bean of type 'java.lang.Class' in your configuration. ❓에러 발생 이유해당 문구는 Spring이 실행되면서 java 파일이 bean 등록이 되지 않았을 때 나타나는 에러 메시지입니다.저의 경우에는 QueryDSL을 사용한 ArticleRepositoryCu.. 2024. 4. 10. 이전 1 ··· 3 4 5 6 7 8 다음 반응형