프로젝트
-
[Spring Data JPA] GenericJDBCException 에러 원인과 해결프로젝트/blockchain 2022. 8. 13. 16:56
product, trade 구현부와 내가 맡은 member 구현부 취합 과정 중 맞닥뜨린 에러 원인 : 'b_wallet' 컬럼을 아무리 찾아봐도 코드상 발견할 수가 없었음 시도 : GenericJDBCException 만 구글링해서 인코딩 문제인 줄 알고 테이블 인코딩을 설정해줌 -> 안됨 될 리가 없음 해결 : trade테이블 create, drop 을 반복하다보니(bWallet 컬럼으로 생성되어 있던 것을 drop 하고 bwallet으로 바꿈) bWallet, b_wallet 컬럼 두 개가 생성되어 있던 것;;drop하고 bwallet으로 다시 생성해서 해결 교훈 : 내가 안 짠 코드는 귀찮다고 스킵하지 말고 무조건 test코드부터 실행해보자..
-
(0708) axios 모듈화 중 Typescript 에러 해결프로젝트/Toy Project 2022. 7. 8. 11:56
1 2 3 4 5 6 7 8 import axios, { AxiosInstance } from 'axios'; export const customAxios: AxiosInstance = axios.create({ baseURL: 'http://localhost:8080', // 기본 서버 주소 입력 headers: { Authorization: localStorage.getItem('jwtToken' || ""), }, }); Colored by Color Scripter cs 에러 메시지 : Type ' string | null' is not assignable to type string|number|boolean 수정 ㄱ 1 2 3 4 5 6 7 8 9 import axios, { AxiosInsta..
-
(0704) 카카오로그인 KOE010 이슈, postman 테스트, axios 에러프로젝트/Toy Project 2022. 7. 5. 01:54
https://devtalk.kakao.com/t/koe010-bad-client-credentials/115388?source_topic_id=115502 KOE010 (Bad client credentials) 에러가 발생할 때 {“error”:“invalid_client”¸ “error_description”:'Bad client credentials'¸ “error_code”:'KOE010'} KOE010 (Bad client credentials) 에러가 발생할 때 ◾️ 대부분 client_secret이 활성화된 상태에서 client_secret을 파라메 devtalk.kakao.com https://kakao-tam.tistory.com/66?category=866966 node.js + ax..
-
(0630)react-spring boot 연동, react-router-dom switch 에러프로젝트/Toy Project 2022. 7. 2. 16:49
https://7942yongdae.tistory.com/136 Spring - 실무에서 사용하는 React + SpringBoot 프로젝트 만들기 with Gradle 이 글에서는 실무에서 사용할 수 있는 React + SpingBoot 프로젝트 구조를 만드는 과정을 알아보겠습니다. 이전에 Vue + SpringBoot 프로젝트를 만드는 방법을 알아보았는데요. 이 방법은 전문가처럼 React 7942yongdae.tistory.com https://velog.io/@nemo/react-error-routes [React 에러 일지] ... is not a component. All component children of must be a or 🚫 \[...] is not a component. All ..
-
(0624) spring security와 CORS 설정프로젝트/Toy Project 2022. 6. 24. 17:05
https://oddpoet.net/blog/2017/04/27/cors-with-spring-security/ CORS 설정과 Spring Security API 서버와 Web FrontEnd 서버를 나누어서 구성할 때 CORS(Cross Origin Resource Sharing) 설정을 해야하는데,spring-security를 적용 중이라면 servlet filter로 CORS를 적용하면 원치 않은 결과를 얻을 수 있다.spring-sec oddpoet.net =>
-
(0623) 카카오로그인 구현프로젝트/Toy Project 2022. 6. 23. 16:29
https://data-jj.tistory.com/53 REST-API 활용한 카카오 소셜 로그인 구현(feat. React) 프로젝트를 진행하면서 소셜 로그인 구현을 맡게 되었다. 다들 프론트엔드는 소셜 로그인에서 할게 많이 없다 쉽다~, 그중에서 카카오가 가장 쉽다~ 이렇게 얘기해서 방심했다. 그렇게 6일간의 data-jj.tistory.com https://velog.io/@kimujin99/Spring-React-%EC%B9%B4%EC%B9%B4%EC%98%A4-%EC%86%8C%EC%85%9C-%EB%A1%9C%EA%B7%B8%EC%9D%B8-JWT-2 Spring-React : 카카오 소셜 로그인 + JWT (2) 카카오에서 회원정보 요청후 DB에 저장하기 해당 프로젝트에서는 오로지 카카오 소..