IT'S DO
[Error Git]requested url returned error 403
error 2025. 2. 7. 14:55

intellij에서 git push 할때 위와 같은 에러 발생터미널에 git remote set-url origin https://github.com/닉네임/깃 레포 경로하면 해결됨.

[error] JPA PostgreSQL via JDBC [오류: 구문 오류, "order" 부근]
error 2025. 1. 9. 11:35

# 에러 : JPA에서 프로젝트 실행할때 테이블이 만들어지는데. 아래 처럼 에러가 날때. create table order (         id bigint generated by default as identity,         order_date timestamp(6) not null,         status varchar(255) check (status in ('PENDING','SHIPPED','DELIVERED','CANCELLED')),         user_id bigint not null,         primary key (id)     )" via JDBC [오류: 구문 오류, "order" 부근   Position: 20] => 이유 : PostgreSQL에서 위와 같은 ..

[error] jwt token 값 쿠키에서 가져올때, 쿠키 값이 null로 나올때 해결법
error 2024. 12. 30. 11:10

# 원인 : 쿠키값이 null로 나오는 문제는 브라우저에서 document.cookie를 통해 쿠키를 읽을 수 없기 때문에 발생함.이는 쿠키에 HttpOnly 옵션이 설정된 경우 발생.HttpOnly 쿠키는 클라이언트 측에서 JavaScript로 접근할 수 없고, 서버 측에서만 접근 가능합니다. # 해결 방법 1. 쿠키에 HttpOnly 옵션 제거 HttpOnly 옵션을 제거하면 쿠키를 클라이언트에서 JavaScript로 읽을 수 있지만, 이는 보안 취약성을 증가시킬 수 있으므로 실무에서는 권장되지 않음.2. 서버 API를 통해 JWT 검증 및 사용자 정보 반환 쿠키를 직접 읽지 않고, 서버에 요청하여 JWT를 검증하고 사용자 정보를 반환받는 방법을 사용. # jwt 토큰을 검증하고 사용자 정보를 반환하..

[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:..