![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FLkQOV%2FbtrgDUDlFV3%2FK1zeNUh6K2UnNDbZtqIjtK%2Fimg.png)
Framework/Spring
Spring Boot Swagger 연동 에러 해결하기
Item 클래스의 도메인부터 서비스, Test 코드까지 작성 후 Swagger와 연동하여 Request를 요청해보았다. 처음으로 뜬 에러는 ItemPhoto에 대한 flushing문제 Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - ..