๊ธฐ์กด์ Java 11๋ก ๊ฐ๋ฐ์ ์งํํ์๋ค. SpringBoot 3.1.1 ๋ฒ์ ์ผ๋ก ํ๋ก์ ํธ๋ฅผ ์์ฑํ๋ฉด์ ์๋ฐ ๋ฒ์ ์ถฉ๋์ด ๋ฌ๋ค. SpringBoot 3.0๋ถํฐ๋ Spring Framework 6 ๋ฒ์ ์ ์ฌ์ฉํ๋ค. ๊ณต์๋ฌธ์์ ๋ฐ๋ฅด๋ฉด Spring 6๋ถํฐ๋ Java 17๋ง์ ์ง์ํ๊ธฐ ๋๋ฌธ์ ์๋ฐ 17 ์๋๋ฒ์ ์ธ ๊ฒฝ์ฐ ํ๋ก์ ํธ๋ฅผ ๋น๋ํ ์ ์๋ค. https://spring.io/blog/2022/11/16/spring-framework-6-0-goes-ga Spring Framework 6.0 goes GA Dear Spring community, It is my pleasure to announce that Spring Framework 6.0.0 is generally available from Maven ..
ํ๋ก์ ํธ ์ค์ ๋์ค @Value๋ฅผ ์ฌ์ฉํ๊ธฐ ์ํด ๋ค์๊ณผ ๊ฐ์ด ์ค์ ํ๋๋ฐ ๋ค์๊ณผ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ฉด์ ์ฑ์ด ๊ตฌ๋ํ์ง ์์๋ค. @Service @RequiredArgsConstructor public class JWTService { @Value("${homepage.key}") private final String baseKey; private final SignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256; ... } Parameter 0 of constructor in junho.homepage.service.JWTService required a bean of type 'java.lang.String' that could not be f..