IT'S DO
[error] react Request failed with status code 403, /static/js/bundle.js error
error 2024. 12. 26. 11:52

[에러]react에서 아래와 같은 에러 나올시.Request failed with status code 403 AxiosError: Request failed with status code 403     at settle (http://localhost:3001/static/js/bundle.js:28779:12)     at XMLHttpRequest.onloadend (http://localhost:3001/static/js/bundle.js:27426:66)     at Axios.request (http://localhost:3001/static/js/bundle.js:27925:41)     at async login (http://localhost:3001/static/js/bundle.js:..

article thumbnail
[Git] git commit 후 잔디 안심어 질 때 원인 및 해결 방법(feat. 이름, 이메일 변경 할때 사용)
형상관리/git 2024. 12. 17. 16:35

# 원인 : 잔디가 안심어지는 이유는 이메일이 맞지 않아서이다.github에 있는 이메일과 커밋된 주소의 이메일을 잘 확인해보자 => 맞지 않다. 그래서 잔디가 안심어진것.    # 커밋 하기 전 경우프로젝트 마다 변경 하고 싶은 경우$ git config user.email "이메일"$ git config user.name "이름" 모든 프로젝트 변경 하고 싶은 경우.$ git config --global user.email "이메일"$ git config --global user.name "이름"  # 커밋한 경우 먼저 커밋된 로그 확인 해보자.(해당 프로젝트 경로의 터미널에서 진행)1. git log --pretty=format:"%h = %an , %ar : %s" --graph 바꿔야할 번호를 ..

[Springboot error] Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name || java.lang.illegalargumentexception: not a managed type
error 2024. 12. 12. 09:40

# error : Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name || java.lang.illegalargumentexception: not a managed type 생성자 매개변수 0을 통해 표현되지 않았다는 뜻인데. 보통 이런 경우엔 값이 안들어갔다는 뜻임.즉 @Entity와 같은 어노테이션 문제가 있거나. 위와 같은 에러가 나오면 import가 잘못 된것. # 해결 : 1. 어노테이션 잘 달아줬는지 확인. 문제가 없다면 다음 케이스.(@Entity, @ManyToOne, ~~) 2. import 확인.  intellij에서 흔히 나오는 실수인데, intellij가 어노테이션..

article thumbnail
[error] intellij lombok 인식 안되는 에러(cannot find symbol ~get)
error 2024. 12. 11. 10:59

금일 프로젝트를 만들고, 실행 했는데 maven의 pom에 있음에도 불구하고 getter, data 등 lombok이 인식이 안되는 에러가 발생하였다. 먼저 lombok이 문제 인지 확인 하기 위해서 get, set 하나씩 dto에 만들어 주었다. 그랬더니 실행이 잘 되었고, lombok이 문제인 것을 깨달았다.  # 해결법 :  1.  파일 - 설정 - 어노테이션 프로세서 - 어토네이션 처리 활성화 체크  2. 파일 - 캐시 무효화 - 무효화 및 다시시작  3. 특이한 케이스 위에 두개로 해결 되지 않았다. 그래서 찾다보니, 아래처럼 하니 해결 되었다.  3.1 기존(pom.xml) org.apache.maven.plugins maven-co..