Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Github_token
- #스파르타내일배움캠프TIL
- 스레드
- 변수의 다양성
- 스파르타내일배움캠프
- Git
- 해우소
- KPT
- 인스턴스
- Diary 해우소
- 회고록
- 생성자
- Java의 이점
- 클래스
- TiL_1st_0419
- JVM
- #스파르타내일배움캠프
- 메서드
- Token
- 스파르타내일배움캠프TIL
- diary
- #내일배움캠프
- 성장기록
- static
- 포맷은 최후의 보루
- 감사기록
- GitHub
- 내일배움캠프
- Java
- 객체지향 언어
Archives
- Today
- Total
몬그로이
security+jwt 회원가입과 로그인 구현후 발생한 에러 대처 본문
Caused by: java.lang.IllegalArgumentException: Illegal base64 character 20
라는 에러 발생
환경변수에 넣어둔 secretkey가 잘못됐다는 것
새로 생성해서 넣음
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
라는 에러 발생
DB 설정을 yml 에 적지 않아서 발생한 문제였음
https://psip31.tistory.com/139
defaultTarget must start with '/' or with 'http(s)'
라는 에러 발생
SecurityConfig 클래스의 securityFilterChain 매서드에 정의해 둔
formLogin 의 defaultSuccessUrl (로그인 성공시 이동되는 url) 설정을
미정인 상태였어서 "" 라고 해 뒀더니 발생했던 에러
임의로 아무거나 넣어두니 작동 성공