๋ฐ์ํ
JUnit ํ ์คํธ ์ฝ๋ ๋๋ฆฌ๋ค๊ฐ
does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
๋ผ๊ณ ์๋ฌ๊ฐ ๋์ค๋ฉด์ ์คํ์ด ์๋จ

@SpringBootTest ์๋์
@ContextConfiguration(classes = SpringBootApplication.class) ๋ถ์ฌ์ ํด๊ฒฐํจ
๊ธฐ์กด์๋ ๋ณ๋๋ก ์ด๋ค ์ค์ ํด๋์ค๋ฅผ ์ธ์ง ๋ช ์๋ฅผ ์ํด๋์
์คํ๋ง์ด ์ฐพ์ผ๋ ค๊ณ ์๋ํ๋ ค๋ค๊ฐ ๋ชป์ฐพ์๊ฑฐ์.
๊ทผ๋ฐ @ContextConfiguration(classes = BlogApplication.class) ๋ผ๊ณ ์จ์ค์ผ๋ก์จ
์ง์ ๋ช ์๋ก ๋ฎ์ด์ค๊ฒ.
๋ฐ์ํ
'Spring Boot' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [error] Unable to determine Dialect without JDBC metadata ํด๊ฒฐ (0) | 2025.11.28 |
|---|---|
| [OAuth] OAuth2 ์ค์ ํ์ผ ์์ฑ (0) | 2025.05.11 |
| [OAuth2] OAuth2 ์ฌ์ฉ์ ์๋น์ค ๊ตฌํํ๊ธฐ (0) | 2025.05.11 |
| [OAuth] OAuth ์์กด์ฑ ์ถ๊ฐ, ์ฟ ํค ๊ด๋ฆฌ ํด๋์ค ๊ตฌํํ๊ธฐ (0) | 2025.05.08 |
| [OAuth] ๊ตฌ๊ธ ๋ก๊ทธ์ธ ๊ธฐ๋ฅ1 ( ํ ํฐ ๋ฐ๊ธ๋ฐ๊ธฐ) (5) | 2025.05.07 |