Dev/Spring 3

[JPA] cannot reliably process 'remove' call 오류(에러)해결

JPA로 테이블에 저장한 로우를 삭제하려고 했으나 다음과 같은 오류(에러)가 발생했다. * 오류(에러)메시지 No EntityManager with actual transaction available for current thread - cannot reliably process 'remove' call; nested exception is javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'remove' call * 소스코드 public void function() { // 소스코드 중략... re..

Dev/Spring 2023.02.09

[errorlog][http-nio-8080-exec-6] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsExcept..

!주의 본 포스트는 단순 기록하는 포스트입니다. [http-nio-8080-exec-6] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: 0] with root cause java.lang.StringIndexOutOfBoundsException: String index out of range: 0 조회 시 ..

Dev/Spring 2020.05.08