spring43 Spring - ๋น๋ํ๊ณ ์คํํ๊ธฐ ํฐ๋ฏธ๋๋ก ์ด๋ 1. ./gradlew build 2. cd build/libs 3. java -jar hello-spring-0.0.1-SNAPSHOT.jar 4. ์คํ ํ์ธ 2023. 7. 3. Spring - view ํ๊ฒฝ์ค์ ์คํ๋ง ๋ถํธ๊ฐ ์ ๊ณตํ๋ Welcome Page ๊ธฐ๋ฅ static/index.html ์ ์ฌ๋ ค๋๋ฉด Welcome page ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ค. https://docs.spring.io/spring-boot/docs/2.3.1.RELEASE/reference/html/spring-bootfeatures.html#boot-features-spring-mvc-welcome-page thymeleaf ํ ํ๋ฆฟ ์์ง thymeleaf ๊ณต์ ์ฌ์ดํธ: https://www.thymeleaf.org/ ์คํ๋ง ๊ณต์ ํํ ๋ฆฌ์ผ: https://spring.io/guides/gs/serving-web-content/ ์คํ๋ง๋ถํธ ๋ฉ๋ด์ผ: https://docs.spring.io/spring-boot/docs/2.3.1.RELEASE/.. 2023. 7. 3. Spring - ํ๋ก์ ํธ ์์ฑ start springboot ๋ฅผ ์ด์ฉํ์ฌ ์ด๊ธฐ ์คํ๋ง ํ๋ก์ ํธ ์์ฑํ๋ค. https://start.spring.io/ ์ด๊ธฐ build.gradle์ ์ํ๋ ์ด๋ฌํ๋ค. plugins { id 'java' id 'war' id 'org.springframework.boot' version '3.0.5' id 'io.spring.dependency-management' version '1.1.0' } group = 'hello' version = '0.0.1-SNAPSHOT' sourceCompatibility = '17' repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-star.. 2023. 7. 3. ์ด์ 1 ยทยทยท 8 9 10 11 ๋ค์