일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- MySQL
- STS
- PostgreSQL
- Eclipse
- 오픈소스
- 설정
- ubuntu
- Exception
- Python
- AJAX
- Thymeleaf
- Docker
- JDBC
- MSSQL
- myBatis
- error
- 문서
- IntelliJ
- Spring Boot
- Core Java
- maven
- Source
- git
- SpringBoot
- Tomcat
- oracle
- JavaScript
- jpa
- Open Source
- spring
- Today
- Total
목록Exception (106)
헤르메스 LIFE
개발환경 Spring 5.3.24 myBatis 3.5.11 myBatis Spring 3.0.1 다음과 같은 환경에서 셋팅하던 중 아래와 같은 오류가 발생하였습니다. DEBUG UiApplicationContextUtils:85 - Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@1c571162] WARN XmlWebApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.s..
아래와 같은 오류가 발생했습니다. The return type is incompatible with Persistable.getId() 내용은 getId() 의 ID 의 Return Type이 String 이기 때문에 발생하는 오류입니다. ( ID의 Type은 Long 형입니다. ) Persistable 는 Spring Data JPA 구현 시 Merge 가 발생하는 문제를 해결하기 위해 사용하는 방법입니다. https://hermeslog.tistory.com/693 [JPA] JPA Data Save 시 Select 쿼리가 먼저 실행 된다. 요즘 JPA를 공부하고 있습니다. MyBatis 만 하다가, 개인적으로 공부를 진행하고 있습니다. 하다보니 막히고, 이해가 안되는 부분이 많네요. 그때마다 검색과..
게시판을 작성해보려 합니다. 조금씩 살을 붙여나가 보려고 합니다. 개발환경 Spring Boot 2.7.9 lombok devtools postgresql Gladle Thymeleaf 아래와 같은 경고가 발생했습니다. 2023-04-12T23:16:10.277+09:00[0;39m [33m WARN[0;39m [35m19420[0;39m [2m---[0;39m [2m[ restartedMain][0;39m [36mion$DefaultTemplateResolverConfiguration[0;39m [2m:[0;39m Cannot find template location: classpath:/templates/ (please add some templates, check your T..
개발환경 Spring Boot 2.7.9 H2 2.1.214 p6spy 1.8.1 slf4j 1.7.36 lombok devtools postgresql Spring Data JPA Code 테이블에 save 하던 중 아래와 같은 오류가 발생했습니다. 특별한 Exception 도 발생하지 않고 commit 할 수 없다라는 경고 메시지만 보여집니다. WARN 23-03-31 00:43:896[http-nio-9090-exec-1] org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.logException[208]: - Resolved [org.springframework.transaction.Trans..
요즘 JPA를 공부하고 있습니다. MyBatis 만 하다가, 개인적으로 공부를 진행하고 있습니다. 하다보니 막히고, 이해가 안되는 부분이 많네요. 그때마다 검색과 삽질로 해결하고 있습니다. 여기 그 삽질의 자취를 남겨봅니다. 개발환경 Spring Boot 2.7.9 H2 2.1.214 p6spy 1.8.1 slf4j 1.7.36 swagger2 2.6.1 lombok devtools postgresql INFO 23-03-24 23:26:689[restartedMain] springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping.initHandlerMethods[69]: - Mapped URL path [/v2/api-do..
개발환경 Spring Boot 2.7.9 H2 2.1.214 p6spy 1.8.1 slf4j 1.7.36 swagger2 2.6.1 lombok devtools postgresql JPA 아래와 같은 오류가 발생했습니다. INFO 23-03-18 11:39:785[http-nio-9090-exec-1] octopus.advice.ExceptionAdvice.dataAccessException[72]: - [ExceptionAdvice >> dataAccessException] result :: {errCode=-1, errMsg=Null value was assigned to a property [class octopus.entity.TCodeD.numOpt1] of primitive type sette..
개발환경 Spring Boot 2.7.9 H2 2.1.214 p6spy 1.8.1 slf4j 1.7.36 swagger2 2.6.1 lombok devtools postgresql JPA 아래의 오류는 JPA 개발환경에서 조회 후 값이 없을 경우 발생하는 오류입니다. WARN 23-03-18 11:23:622[http-nio-9090-exec-1] org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.logException[208]: - Resolved [java.util.NoSuchElementException: No value present] JPA 에서는 아래와 같이 해결할 수 있습니다. @Tra..
개발환경 : Spring Boot 2.7.9 Database : H2-2.1.214 JDK : 11.0.18 x64 JPA DEBUG 23-03-11 00:39:202[http-nio-9090-exec-1] octopus.backend.v1.controller.CodeMController.save[55]: - tCodeMDto :: TCodeMDto(pCd=null, pCdNm=null, useYn=null, rmk=null) DEBUG 23-03-11 00:39:206[http-nio-9090-exec-1] octopus.backend.v1.service.CodeService.save[37]: - tCodeMDto :: TCodeMDto(pCd=null, pCdNm=null, useYn=null, rm..
개발환경 : Spring Boot 2.7.9 Database : H2-2.1.214 JDK : 11.0.18 x64 JPA WARN 23-02-26 00:34:198[restartedMain] org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration$JpaWebConfiguration.openEntityManagerInViewInterceptor[223]: - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view..
개발환경 : Spring Boot 2.7.9 Database : H2-2.1.214 JDK : 11.0.18 x64 JPA H2 Database 를 이용해서, User 라는 JPA Entity 를 생성하는 테스트를 하던 중 아래와 같은 오류가 발생했습니다. package octopus.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate...