SpringBoot νλ‘μ νΈ μμ±
Spring Inializr : Create a Gradle Project
λ²μ μ ν
μΈμ΄ μ ν : Java
Group Id μ§μ : com.aloha
Artifact Id μ§μ : hello
Pacakge Type μ§μ : War
JDK λ²μ μ§μ : 17
Dependencies μ§μ
β’
Spring Web
β’
Thymeleaf
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello</title>
</head>
<body>
<h1>Hello Spring Boot~!</h1>
<h3>μ€νλ§ λΆνΈ μμνκΈ°</h3>
</body>
</html>
HTML
볡μ¬