Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
public:computer:spring_tools [2021/11/18 11:04] – [Run] alex | public:computer:spring_tools [2021/11/19 11:57] – alex | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Spring Tools |4 ====== | ====== Spring Tools |4 ====== | ||
> [[https:// | > [[https:// | ||
+ | |||
+ | ===== Prerequisite ===== | ||
+ | * Install Java JDK | ||
+ | * Set Environments; | ||
+ | |||
+ | <cli> | ||
+ | // 설치 후 shell에서 자바 버전 확인 | ||
+ | $ java -version | ||
+ | |||
+ | // change directory @mac | ||
+ | $ cd / | ||
+ | |||
+ | // JAVA_HOME path 설정 | ||
+ | // Shell이 bash인 경우 path 설정 | ||
+ | $ vi ~/ | ||
+ | |||
+ | // 환경 변수 설정 후 jdk 버전 확인 | ||
+ | $ java -version | ||
+ | </ | ||
+ | |||
+ | <sxh plain title: .bash_profile> | ||
+ | export JAVA_HOME=/ | ||
+ | </ | ||
Line 55: | Line 78: | ||
===== for Visual Studio Code ===== | ===== for Visual Studio Code ===== | ||
+ | ==== Install Extensions ==== | ||
+ | * Extension Pack for Java by Microsoft | ||
+ | * < | ||
+ | |||
+ | |||
+ | ==== Create Project ==== | ||
+ | * Command Palette (⌘ + ⇧ + P); spring initializr | ||
+ | - Choose One(Add Starters/ | ||
+ | - Specify Spring Boot version; | ||
+ | - Specify prject language; Java / Kotlin / Groovy | ||
+ | - Input Group Id; com.example | ||
+ | - Input Artifact Id; demo | ||
+ | - Specify packaging type; Jar / War | ||
+ | - Specify Java version; 11/ 17 / 8 | ||
+ | - Search for dependencies; | ||
+ | * **Spring Boot DevTools** (*) | ||
+ | * **Spring Web** (*) | ||
+ | - Choose Directory to make a project |