profile
9에서 0으로, 백엔드 개발블로그
post-thumbnail

Caused by: java.lang.IllegalArgumentException at PropertyPlaceholderHelper.java:180

build 과정 중 다음과 같은 예외가 발생했다.PropertyPlaceholderHelper.java:180내 경우는 테스트 실패에 관한 내용이었다. 원인 불명의 테스트가 작성되어 있었다.해당 부분을 삭제하고,build.gradle에서 task.named('test'

2023년 9월 6일
·
0개의 댓글
·
post-thumbnail

[error] [파일 업로드] StringIndexOutOfBoundsException: String index out of range: -1] with root cause

image를 업로드하여 요청을 보내지 않으면 게시판에서 String index out of range오류가 발생했다.Servlet.service() for servlet dispatcherServlet in context with path \[] threw except

2023년 9월 5일
·
0개의 댓글
·
post-thumbnail

23-09-04 (월) 멘토링

알고리즘 준비 백준 단계별 알고리즘 풀이 유형과 난이도 모두가 중요하다. 카카오 : 난이도가 높은데 실제 문제와 관련된 코테가 나온다. ex) 택시의 경로에 따른 최소비용, 문자열 핸들링. 삼성 : 실제 구현을 많이 해봤어야 하는 문제들. ex) 큐브 - 오른쪽 몇

2023년 9월 4일
·
0개의 댓글
·
post-thumbnail

[Error] JPA 순환참조 오류 java.lang.IllegalStateException: Cannot call sendError() after the response has been committed

PlantObjController 클래스 getGardenInfo(@Positive @PathVariable("account-id")Long accountId) api 요청에서 발생한 무한 참조 오류클래스 작성 중 Point와 Account가 무한참조 된다는 예외가 발

2023년 9월 3일
·
0개의 댓글
·

[Git] [error] git config pull.rebase false

git config pull.rebase falsegit config pull.rebase false 명령은 git pull 명령을 실행할 때 기본적으로 병합(merge) 방식을 사용하도록 설정하는 것입니다. 이 설정을 변경함으로써, git pull 명령을 실행할 때

2023년 8월 31일
·
0개의 댓글
·
post-thumbnail

[Exception] [JPA]HibernateException: identifier of an instance of com.mappingtest.Locker was altered from 1 to 2

프로젝트를 진행하던 중, 궁금증이 생겼다. OneToOne 매핑관계에서 연관된 테이블 정보를 바꾸기 위해 setter를 사용한다면 손쉽게 수정 api를 구현할 수 있지 않을까?결론부터 말하자면, 연관관계 매핑이 된 상태에서 식별자만을 단순 setter로 변경할 수 없다

2023년 8월 29일
·
0개의 댓글
·
post-thumbnail

[Main] The bucket does not allow ACLs (Service: Amazon S3; Status Code: 400; / SdkClientException: Failed to connect to service endpoint:

2023-08-29 14:05:51.583 ERROR 22724 --- nio-8080-exec-1 o.a.c.c.C.\[.\[./.dispatcherServlet : Servlet.service() for servlet dispatcherServlet in co

2023년 8월 29일
·
0개의 댓글
·
post-thumbnail

[PreProject] [OAuth2.0 트러블슈팅 2편] 구글 OAuth2 관련 내용

구글 클라우드 콘솔 apis사용자 인증 정보 설정하는 법사용자 인증 정보 , 승인된 자바스크립트 원본 + 승인된 리디렉션 URI승인된 자바스크립트 원본은 프론트엔드의 호스트를 기입하면된다.승인된 리디렉션 URI는 백엔드 애플리케이션 서버의 URI를 입력해야 한다.사용자

2023년 8월 22일
·
0개의 댓글
·
post-thumbnail

[PreProject] [CI/CD] Github Action 사용할 때 Docker 환경변수 설정

EC2 환경에서 Docker를 이용하여 백그라운드에서 자바 컨테이너를 실행할 수 있다.Pre-project 단계에서 우리는 다음과 같은 CI/CD 환경을 구성하였다.Github Action, workflowDockerAWS EC2 (ubuntu)문제는 AWS EC2 환

2023년 8월 22일
·
0개의 댓글
·
post-thumbnail

[PreProject] OAuth2 사기성 사이트

https://search.google.com/search-console/welcome?hl=ko&utm_source=about-page

2023년 8월 20일
·
0개의 댓글
·

[Error] [Git] Git rebase/—ff-only 뜰 때

Git rebase/—ff-only 뜰 때로컬 최신 브랜치 남기고 나머지 로컬 브랜치 다 삭제Remote에 있는 dev-be를 Local에 있는 dev-be로 pull최신 브랜치(feat/\~\~~)에 가서 dev-be merge(git merge dev-be) 로컬

2023년 8월 19일
·
0개의 댓글
·
post-thumbnail

[PreProject] 🚩 EC2 환경세팅, CORS, UBUNTU 포트허용

본 문서에서는 AWS의 웹 서버 구동용 클라우드 서비스인 S3와 WAS 구동용 클라우드 서비스인 EC2의 서버 연동 중 발생했던 문제 상황에 대해 명확히 파악하고 환경 세팅에 대한 내용을 정리하고자 한다.기본적으로 CI/CD에 대한 내용을 포함하고 있다. 본 문서는 G

2023년 8월 18일
·
0개의 댓글
·
post-thumbnail

[PreProject] [Error] [Git] 빌드 파일들이 git 관리 대상으로 등록되는 문제 (완료)

사진처럼 build된 gradle 파일이 뜬금없이 Git 의 상태 관리 대상이 되었습니다..git ignore에 추가를 해봐도 여전히 Git 추적 대상으로 commit 할 수 있는 목록에 생성됩니다.다음은 .gitignore 파일 전문입니다.해결할 수 있는 방법이 있을

2023년 8월 18일
·
0개의 댓글
·
post-thumbnail

[PreProject] [OAuth2.0 트러블슈팅 1편] OAuth2.0, localhost, HttpServlet

위 그림은 CSR 방식의 OAuth2.0 인증 과정을 잘 설명하는 그림이다.(1) Resource Owner가 웹 브라우저에서 ‘Google 로그인 링크’를 클릭.(2) ⭐Frontend 애플리케이션에서 Backend 애플리케이션의 http://localhos

2023년 8월 17일
·
0개의 댓글
·
post-thumbnail

[PreProject] [Error] [Spring Data JPA] No Property ~ Found for Type Exception

Spring Data JPA No Property ~ Found for Type Exceptionhttps://sudo-minz.tistory.com/120JPA에서는 변수명에 언더바를 적용하지 않는 것을 권장한다.Servlet.service() for ser

2023년 8월 14일
·
0개의 댓글
·
post-thumbnail

[PreProject] [SpringSecurity], [MalFormedJwtException] ,@Lazy

SecurityConfigurationJwtAuthenticationFilterJwtVerificationFilter (인가 필터)SpringSecurity를 통해 인증과 인가를 구현하던 중 문제가 발생했다.인증(JwtAuthenticationFilter) 이후 인가

2023년 8월 14일
·
0개의 댓글
·
post-thumbnail

[PreProject] [Error] [Spring] org.springframework.context .ApplicationContextException

재부팅 후 빌드하려고 봤더니 갑자기 아래와 같은 예외가 출력되었다.알고 보니 인텔리제이에 등록해두었던 환경변수의 일부가 날아가서 실행이 되지 않았다.시스템 변수에 있는 환경변수까지 포함해서 빌드했더니 정상적으로 동작한다.

2023년 8월 13일
·
0개의 댓글
·
post-thumbnail

[PreProject] [Error] [Spring Security] : IllegalArgumentException: There is no PasswordEncoder mapped for the id "null"

기존 SecurityConfiguration에 설정되어 있는 CustomFilterConfigurer업로드중..시큐리티 로그인 인증을 시도했으나 다음과 같은 예외 메시지가 출력됨IllegalArgumentException: There is no PasswordEncod

2023년 8월 13일
·
1개의 댓글
·
post-thumbnail

⭐ [프로젝트] 프리프로젝트 일지

프로젝트 레포지토리: https://github.com/codestates-seb/seb45_pre_031노션 : https://www.notion.so/7-ELEVEN-b1616d8b43914952b225cc24e371da9a요구사항 정의서: htt

2023년 8월 8일
·
0개의 댓글
·