일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Thymeleaf
- maven
- git
- Core Java
- myBatis
- Exception
- jpa
- PostgreSQL
- error
- MySQL
- AJAX
- Spring Boot
- STS
- 오픈소스
- MSSQL
- Source
- Python
- IntelliJ
- oracle
- Eclipse
- 문서
- ubuntu
- Docker
- SpringBoot
- JavaScript
- Open Source
- JDBC
- spring
- 설정
- Tomcat
- Today
- Total
목록Exception (107)
헤르메스 LIFE
Github 에 신규 프로젝트를 등록하면서 아래와 같은 오류가 발생 했습니다. $ git push -u origin main remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/hermeswing/sample-spring-webapp.git/' remote: Invalid username or password. Github의 연결이 끊어졌으니, 아이디 / 패스워드를 다시 넣어라 .. 뭐.. 그런 뜻 인것 같습니다. 이런 경우 일단 origin의 연결을 끊습니다. $ git remote remove origin 그리고, 다시 origin 을 연결합니다. $ git remote add origin ..
개발환경 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..