๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๐ŸŒฟ Spring33

[Error] Spring Boot Configuration Annotation Processor not configured @ConfigurationProperties๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๋ฐ ๊ฐ‘์ž๊ธฐ ์œ„์— ์•Œ๋ฆผ์ด ๋–ด๋‹ค. ์šฐ์ธก์— open documents๋ฅผ ๋ˆŒ๋Ÿฌ์„œ ๋ฌธ์„œ๋ฅผ ๋ณด๋ ค๊ณ  ํ–ˆ์œผ๋‚˜ ์ด์ƒํ•˜๊ฒŒ ์ ‘์†์„ ๋ชปํ•˜๊ธธ๋ž˜ ๊ทธ๋ƒฅ ๊ณต์‹๋ฌธ์„œ ๋’ค์ ธ์„œ ์ฐพ์•„์™”๋‹ค. https://docs.spring.io/spring-boot/docs/2.5.2/reference/html/configuration-metadata.html#configuration-metadata.annotation-processor.configuring Configuration Metadata Configuration metadata files are located inside jars under META-INF/spring-configuration-metadata.json. They use a .. 2021. 7. 7.
[์ž…๋ฌธ] ์›น ๊ฐœ๋ฐœ ๊ธฐ์ดˆ - ์ •์  ์ปจํ…์ธ , MVC์™€ ํ…œํ”Œ๋ฆฟ ์—”์ง„, API ํฌ๊ฒŒ ์„ธ ์ข…๋ฅ˜๊ฐ€ ์žˆ๋‹ค. 01. ์ •์  ์ปจํ…์ธ  : ํŒŒ์ผ์„ ์›น ๋ธŒ๋ผ์šฐ์ €์— ๊ทธ๋ƒฅ ์ „๋‹ฌํ•ด์ค€๋‹ค. 02 MVC & ํ…œํ”Œ๋ฆฟ ์—”์ง„ : ์„œ๋ฒ„์—์„œ HTML์„ ์กฐ๊ธˆ ๋ฐ”๊ฟ”์„œ ์ „๋‹ฌํ•ด์ค€๋‹ค 03. API : json ๋ฐ์ดํ„ฐ ํฌ๋งท์œผ๋กœ ํด๋ผ์ด์–ธํŠธ์—๊ฒŒ ๋ฐ์ดํ„ฐ ์ „๋‹ฌ / ์„œ๋ฒ„๋ผ๋ฆฌ ํ†ต์‹ ํ•  ๋•Œ๋„ ์‚ฌ์šฉ ์ •์  ์ปจํ…์ธ  - ์Šคํ”„๋ง๋ถ€ํŠธ์—์„œ ์ •์  ์ปจํ…์ธ ๋ฅผ ์ง€์›ํ•œ๋‹ค. https://docs.spring.io/spring-boot/docs/2.3.1.RELEASE/reference/html/spring-boot-features.html#boot-features-spring-mvc-static-content Spring Boot Features Graceful shutdown is supported with all four embedded web servers.. 2021. 6. 29.
[์ž…๋ฌธ] cmd์ฐฝ์—์„œ spring build ํ•˜๊ธฐ 01. cmd์ฐฝ์—์„œ ํ•ด๋‹น ํด๋”๋กœ ์ด๋™ํ•œ๋‹ค. 02. ll(ls -l)์„ ์ด์šฉํ•˜์—ฌ ์•ˆ์— ์žˆ๋Š” ํŒŒ์ผ์„ ํ™•์ธํ•œ๋‹ค. ๋”๋ณด๊ธฐ ๋”๋ณด๊ธฐ ๋”๋ณด๊ธฐ ์œˆ๋„์šฐ์˜ ๊ฒฝ์šฐ ls -l์ด ์•ˆ ๋จนํžˆ๋ฏ€๋กœ(ใ… ใ… ) doskey๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ฏธ๋ฆฌ ๋ช…๋ น์–ด๋ฅผ ์„ค์ •ํ•ด์ค€๋‹ค. doskey ls = dir doskey clear = cls ๋“ฑ๋“ฑ.. ์ด๋Ÿฐ ์‹์œผ๋กœ ํŒŒ์ผ์ด ๋‚˜์—ด๋  ํ…๋ฐ, ์ด ์ค‘์—์„œ ์šฐ๋ฆฌ๋Š” gradlew๋ฅผ ์ด์šฉํ•œ๋‹ค. 03. ./gradlew build ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ ๋”๋ณด๊ธฐ ๋”๋ณด๊ธฐ ๋”๋ณด๊ธฐ ์œˆ๋„์šฐ๋Š” . ์—†์ด gradlew build ์—ฌ๊ธฐ์—์„œ ll์„ ์ž…๋ ฅํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์€ ์ฐฝ์ด ๋‚˜์˜ฌ ํ…์— ์ด ์ค‘ libs ๋””๋ ‰ํ† ๋ฆฌ๋กœ ์ด๋™ํ•œ๋‹ค. 04. libs ๋””๋ ‰ํ† ๋ฆฌ๋กœ ์ด๋™ํ•œ ํ›„ ls -arlth ์‹คํ–‰ ์‹คํ–‰ํ•˜๋ฉด 18 ์–ด์ฉŒ๊ตฌ์˜ ํฌ๊ธฐ๋ฅผ ๊ฐ€์ง„ hello-spring-0.0.1-.. 2021. 6. 29.
[์ž…๋ฌธ] spring-boot-devtools ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ถ”๊ฐ€ํ•˜๊ธฐ ์ด ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•  ๊ฒฝ์šฐ, local์—์„œ ์ปดํŒŒ์ผ๋งŒ ํ•˜๋ฉด ์„œ๋ฒ„ ์žฌ์‹œ์ž‘ ์—†์ด view ํŒŒ์ผ ๋ณ€๊ฒฝ์ด ๊ฐ€๋Šฅํ•˜๋‹ค๊ณ  ํ•ด์„œ ์•Œ์•„๋ณด๊ฒŒ ๋˜์—ˆ๋‹ค. https://docs.spring.io/spring-boot/docs/1.5.16.RELEASE/reference/html/using-boot-devtools.html 20. Developer tools Applications that use spring-boot-devtools will automatically restart whenever files on the classpath change. This can be a useful feature when working in an IDE as it gives a very fast feedback loop for code .. 2021. 6. 28.