(Ubuntu 16.04 64bit)
1. What is 'Spring Boot'?
main home page : http://projects.spring.io/spring-boot/
2. install
default, installing java
2-1) install gradle
sudo apt-get install gradle
(ref : http://java.ihoney.pe.kr/254)
2-2) install spring-cli
2-3) install sdkman
Please open a new terminal, or run the following in the existing one:
source "/home/hklee/.sdkman/bin/sdkman-init.sh"
error solution(unzip fail) : http://devkyu.tistory.com/611
(Ubuntu 16.04 64bit)
Download sdk - http://spring.io/tools/sts
2-3-1) install springboot
sdk install springboot
만약에 springboot가 설치가 안된다면 $HOME/.sdkman/bin/ 의 아래있는 init을 실행하자.
3. print "Hello world!"
$ vi app.groovy
$ spring run app.groovy
Open http://localhost:8080 in your favorite web browser and you should see the following output:
Hello World!
'소프트웨어 > Spring Boot' 카테고리의 다른 글
[Spring Boot] maven install and build. (0) | 2016.07.07 |
---|---|
[Spring Boot] spring boot java.lang.RuntimeException: java.lang.reflect.InvocationTargetException (0) | 2016.07.06 |
[Spring Boot] Create and Play project (0) | 2016.07.06 |
[Spring Boot] init project (0) | 2016.07.05 |
[sdkman] install, error solution (fail to download) (0) | 2016.07.04 |