chocolaggibbiddori
Reviews Written
9
Average Rating
5.0
Posts
Q&A
์๋์ ๊ฐ์ด ์ค์ต ๋์ค, No suitable driver found ์๋ฌ๊ฐ ๋์ ์ง๋ฌธ๋๋ฆฝ๋๋ค.
์ ๋ ๋์ผํ๊ฒ docker-compose.yml ํ์ผ๋ก ์ปจํ ์ด๋๋ค ๋์ ๋๋ฐ ๋์ผํ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค์... mariadb๋ mysql์ด๋ ์ง์ง๊ณ ๋ณถ๋ ๋ง๋ jdbc:mariadb://mariadb:3306์ผ๋ก ์ ์์ ๋ชปํ๊ณ ์์ต๋๋ค...
- 0
- 3
- 350
Q&A
์ด๋ฏธ์ง๋ ์ด๋ป๊ฒ ์์ฑ๋๋ ๊ฑด๊ฐ์?
๋ก์ปฌ์ ์ด๋ฏธ์ง๊ฐ ์์ผ๋ฉด docker hub์์ ์๋์ผ๋ก ๋ค์ด ๋ฐ์ต๋๋น
- 1
- 2
- 236
Q&A
๋ฐ์์ด ์ดํด๊ฐ ์๋๋ ๊ฒ ์์ด์
"throw ํ๊ฒ ๋ค." ๋ผ๊ณ ํ์๋ ๊ฒ ๊ฐ์ต๋๋ค.
- 0
- 1
- 309
Q&A
userdetail java 17 ๋ฒ์ ๋ชป์ฐ๋๊ฒ๊ฐ์ต๋๋ค.
์ด๋ค ๋ฌธ์ ์์?
- 0
- 2
- 287
Q&A
์์ธ์ฒ๋ฆฌ์ ๊ดํด ์ดํด๊ฐ ์ด๋ ค์ด ๋ถ๋ถ์ด ์์ต๋๋ค.
์ ์๊ฐ์๋ AuthorizationFilter์์ AccessDeniedException ์์ธ๋ฅผ ๋์ง์ง๋ง, ๋ํ AuthenticationCredentialsNotFoundException ์์ธ๋ ๋์ง๋ ๋ก์ง์ด ์์ต๋๋ค(AuthenticationCredentialsNotFoundException ์์ธ๋ AuthenticationException ํ์ ์์ธ์ ๋๋ค). ํด๋น ์์ธ๋ฅผ ExceptionTranslationFilter๊ฐ ์ฒ๋ฆฌํ๋ฏ๋ก ์ธ์ฆ ์์ธ๋ฅผ ์ฒ๋ฆฌํ๋ค๊ณ ์ค๋ช ํ์ ๊ฒ ์๋๊น ์ถ์ต๋๋ค. AuthenticationCredentialsNotFoundException ์์ธ๋ AuthorizationFilter์ getAuthentication() ๋ฉ์๋์, ํด๋น ์์ธ๋ฅผ ExceptionTranslationFilter๊ฐ ์ฒ๋ฆฌํ๋ ๋ถ๋ถ์ doFilter() ๋ฉ์๋ ๋ด๋ถ์์ (AuthenticationException) ํ๋ณํ์ ํ๋ ๋ถ๋ถ์ ์ดํด๋ณด์๋ฉด ์ฝ๊ฒ ์ดํดํ์ค ๋ฏ ํฉ๋๋ค.
- 0
- 2
- 392




