"윈도우 hello.groovy 실습"의 두 판 사이의 차이

(새 문서: ==개요== ;hello.groovy ==사전작업== * 윈도우 스프링부트 CLI 설치 ==hello.groovy 작성== <source lang='java'> @RestController class WebApplication { @Request...)
 
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(다른 사용자 한 명의 중간 판 5개는 보이지 않습니다)
3번째 줄: 3번째 줄:


==사전작업==
==사전작업==
* [[윈도우 스프링부트 CLI 설치]]
* [[윈도우 스프링부트CLI 설치]]


==hello.groovy 작성==
==hello.groovy 작성==
<source lang='java'>
<syntaxhighlight lang='java'>
@RestController
@RestController
class WebApplication {
class WebApplication {
14번째 줄: 14번째 줄:
     }
     }
}
}
</source>
</syntaxhighlight>


==실행==
==실행==
<source lang='bash'>
<syntaxhighlight lang='bash'>
spring run hello.groovy
spring run hello.groovy
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[같이보기]]
* [[윈도우 HelloCli.groovy 실습]]
* [[같이보기]]
* [[윈도우 스프링부트CLI 설치]]
* [[같이보기]]
* [[Groovy]]
* [[같이보기]]


==참고==
==참고==
* {{위키백과}}
* https://docs.spring.io/spring-boot/docs/current/reference/html/cli-using-the-cli.html
* {{다음사전}}
* {{다음백과}}
* {{네이버사전}}
* {{네이버백과}}


[[분류: 국사]]
[[분류: Spring CLI]]
[[분류: 세계사]]
[[분류: Groovy]]
[[분류: 명사]]
[[분류: 명사]]

2020년 11월 2일 (월) 02:49 기준 최신판

1 개요[ | ]

hello.groovy

2 사전작업[ | ]

3 hello.groovy 작성[ | ]

@RestController
class WebApplication {
    @RequestMapping("/")
    String home() {
        "Hello World!"
    }
}

4 실행[ | ]

spring run hello.groovy

5 같이 보기[ | ]

6 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}