본문 바로가기
반응형

스프링35

[QueryDSL] Could not find com.querydsl:querydsl-apt: 5.0.0. 오류 해결 방법 🚨 Build 실행 후 발생한 에러 메시지itemservice-db:main: Could not find com.querydsl:querydsl-apt: 5.0.0.Required by:    project :Possible solution:- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html ❓에러 발생 이유Spring이 해당 라이브러리를 찾지 못해서 발생하는 에러 메시지입니다.저의 경우에는 com.querydsl:querydsl-apt: 5.0.0에서공백이 발생하여 해당 라이브러리를 찾지 못해 나타난 에러.. 2024. 7. 22.
[Spring] 405 Method Not Allowed 오류 해결 방법 (with Postman) 🚨 Postman send 버튼 클릭시 발생한 에러 메시지{    "timestamp": "2024-07-11T17:14:17.577+00:00",    "status": 405,    "error": "Method Not Allowed",    "path": "/test"}❓에러 발생 이유클라이언트에서 요청한 HTTP Method가 서버에 존재하지 않아 나타나는 오류 메시지입니다.해당 오류 메시지는 Spring(Servlet, Tomcat)이 출력하는 에러 메시지입니다.예를 들어 서버(Spring, Java)에서는 HTTP Method를 Put으로 요청받기를 설정하였지만, 클라이언트에서는 HTTP Method를 Post로 요청할 경우에 나타나는 에러입니다.보통은 HTTP Method 설정을 잘못 설정.. 2024. 7. 12.
[Spring] 404 Not Found 오류 해결 방법 (with Postman) 🚨 Postman send 버튼 클릭시 발생한 에러 메시지{    "timestamp": "2024-07-11T16:41:54.821+00:00",    "status": 404,    "error": "Not Found",    "path": "/hi"} ❓에러 발생 이유클라이언트에서 요청한 URL이 서버에 존재하지 않아 나타나는 오류 메시지입니다.해당 오류 메시지는 Spring(Servlet, Tomcat)이 출력하는 에러 메시지입니다.예를 들어 서버(Spring, Java)에서는 '/hello'라는 URL로 응답 받기를 설정하였지만, 클라이언트에서는 '/hi'라는 URL로 요청할 경우에 나타나는 에러입니다.URL을 잘못 입력하거나,Spring에 해당 URL을 처리하는 Controller가 구현되지.. 2024. 7. 12.
[ 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.
반응형