{"id":359,"date":"2022-10-25T21:21:24","date_gmt":"2022-08-11T00:56:16","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/"},"modified":"2025-07-31T22:57:51","modified_gmt":"2025-07-31T13:57:51","slug":"spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/","title":{"rendered":"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b"},"content":{"rendered":"<p>\u79c1\u306e\u4ee5\u524d\u306e\u6295\u7a3f\u300cSpring Boot\u306e\u7d39\u4ecb\u300d\u3068\u300cSpring Boot\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u5185\u90e8\u300d\u3067\u306f\u3001Spring Boot\u306e\u57fa\u672c\u7684\u306a\u5185\u5bb9\u30684\u3064\u306e\u4e3b\u8981\u306aSpring Boot\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f7f\u7528\u306b\u3064\u3044\u3066\u8a71\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306fSpring Boot\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4e00\u3064\u3067\u3042\u308bCLI\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>Spring Boot CLI\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n<p>Spring Boot CLI\uff08Command Line Interface\uff09\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089Spring Boot\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u304a\u3088\u3073\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306eSpring Boot\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\u3002CLI\u3092\u4f7f\u7528\u3057\u3066Spring Boot\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u5185\u90e8\u7684\u306b\u306fSpring Boot Starter\u304a\u3088\u3073Spring Boot AutoConfigurate\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u5185\u90e8\u7684\u306b\u306f\u3001Groovy\u3068Grape\uff08JAR\u4f9d\u5b58\u6027\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\uff09\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001Spring Boot\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u8ffd\u52a0\u3057\u3001\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u81ea\u52d5\u7684\u306b\u89e3\u6c7a\u3057\u307e\u3059\u3002Windows\u74b0\u5883\u3067\u306eCLI\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3001\u304a\u3088\u3073CLI\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\u307b\u304b\u306e\u74b0\u5883\u3067\u3082\u307b\u307c\u540c\u69d8\u3067\u3059\u3002<\/p>\n<h3>Spring Boot CLI\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>Windows Installer\u307e\u305f\u306fZip\u30d5\u30a1\u30a4\u30eb\u306e\u3044\u305a\u308c\u304b\u3092\u4f7f\u7528\u3057\u3066\u3001Spring Boot CLI\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3069\u3061\u3089\u306e\u65b9\u6cd5\u3082\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3001\u540c\u3058Spring Boot CLI\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002\u79c1\u305f\u3061\u306fZip\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\u7c21\u5358\u306a\u65b9\u6cd5\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002Spring Boot\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308b1.2.3.RELEASE\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002Spring Boot CLI\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u3001https:\/\/start.spring.io\/\uff08Spring Initializr WebInterface\u3067\u3059\u3002\u3053\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3064\u3044\u3066\u306f\u3001\u5f8c\u306e\u30dd\u30b9\u30c8\u3067\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\uff09\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002Windows\u74b0\u5883\u3067Spring Boot CLI\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Download Spring Boot CLI zip file using Spring Initilizr<br \/>\nClick on \u201cDownload Spring CLI Zip\u201d button as shown below: Once we download Spring Boot CLI Zip file into our local FileSystem, it looks like this. &#8211; Extract spring-boot-cli-1.2.3.RELEASE.zip file into our local FileSystem.<br \/>\n&#8211; Set Spring Boot CLI Environment Variables in Windows System as shown below.<\/li>\n<\/ul>\n<pre class=\"post-pre\"><code>set PATH=D:\\spring-boot-cli-1.2.3.RELEASE\\bin;%PATH%\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li>Execute the below command to verify our installation process.<br \/>\nWe can use \u201cspring &#8211;version\u201d to know the Spring Boot CLI Version as shown below.<\/li>\n<\/ul>\n<pre class=\"post-pre\"><code>spring --version\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u3001Spring Boot CLI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u77e5\u308b\u305f\u3081\u306b\u300cspring &#8211;help\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>spring --help\r\n<\/code><\/pre>\n<p>\u4eca\u3001\u79c1\u305f\u3061\u306eSpring Boot CLI\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d7\u30ed\u30bb\u30b9\u306f\u6210\u529f\u88cf\u306b\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002Spring Boot\u306e\u300cHelloWorld\u300d\u306e\u4f8b\u306b\u3064\u3044\u3066\u8a71\u3057\u5408\u3046\u524d\u306b\u3001\u307e\u305a\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089Groovy\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h3>Spring Boot\u306e\u300cspring\u300d\u30b3\u30de\u30f3\u30c9<\/h3>\n<p>Spring Boot CLI\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089Spring Boot Groovy\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u300cspring\u300d\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u5148\u307b\u3069\u898b\u305f\u3088\u3046\u306b\u3001Spring Boot\u306e\u300cspring &#8211;help\u300d\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u306b\u306f\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u3055\u307e\u3056\u307e\u306a\u76ee\u7684\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u591a\u304f\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u4f7f\u7528\u3059\u308b\u91cd\u8981\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001\u300crun\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002\u300cspring\u300d\u30b3\u30de\u30f3\u30c9\u306e\u69cb\u6587\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059-<\/p>\n<pre class=\"post-pre\"><code> spring run &lt;SpringBoot-Groovy-Scriptname&gt;\r\n<\/code><\/pre>\n<p>\u3053\u3061\u3089\u306fSpring Boot\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eGroovy\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001Spring Boot\u306eHelloWorld\u306e\u4f8b\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002Spring Boot CLI\u3092\u4f7f\u7528\u3057\u3066\u3001\u7c21\u5358\u306aHelloWorld Spring Boot\u306e\u4f8b\u3068\u4e00\u7dd2\u306b\u4f5c\u696d\u3059\u308b\u6642\u9593\u3067\u3059\u3002<\/p>\n<h3>Spring Boot\u306eHelloWorld\u306e\u4f8b\u3092\u793a\u3059\u3002<\/h3>\n<p>\u4eca\u304b\u3089Spring Boot MVC RestController\u306e\u4f8b\u3092\u958b\u767a\u3057\u307e\u3059\u3002\u3053\u308c\u306fSpring Boot Framework\u306e\u529b\u3092\u793a\u3059\u305f\u3081\u306bPivotal\u30c1\u30fc\u30e0\u304cTwitter\u3067\u6700\u521d\u306b\u516c\u958b\u3057\u305f\u4f8b\u3067\u3059\u3002Spring Boot HelloWorld\u306e\u4f8b\u3092\u958b\u767a\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Create a \u201cHelloWorld\u201d Folder in our Local FileSystem to place our groovy scripts.<\/li>\n<li>Develop a Groovy script file using the following content<\/li>\n<\/ul>\n<pre class=\"post-pre\"><code>@RestController\r\nclass HelloWorld {\r\n  @RequestMapping(\"\/\")\r\n  String hello() {\r\n    \"Hello JournalDev World.\"\r\n  }\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092HelloWorld.groovy\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u3067\u306f\u3001&#8221;.groovy&#8221;\u306e\u62e1\u5f35\u5b50\u304c\u5fc5\u8981\u3067\u3059\u3002\u30b3\u30fc\u30c9\u306e\u8aac\u660e\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Defined a REST Controller using Spring 4 MVC @RestController annotation.<\/li>\n<li>Defined a Mapping URL \u201c\/\u201d using Spring MVC @RequestMapping annotation.<\/li>\n<li>Defined a method to return a String to a Client or Web Browser.<\/li>\n<\/ul>\n<p>\u30b3\u30fc\u30c9\u306e\u89b3\u5bdf HelloWorld.groovy \u3092\u89b3\u5bdf\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u304c\u898b\u3064\u304b\u308a\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>No imports<\/li>\n<li>No other XML configuration to define Spring MVC Components like Views,ViewResolver etc.<\/li>\n<li>No web.xml and No DispatcherServlet declaration<\/li>\n<li>No build scripts to create our Application war file<\/li>\n<li>No need to build war file to deploy this application<\/li>\n<\/ul>\n<p>\u3067\u306f\u3001\u3053\u308c\u3089\u3059\u3079\u3066\u306e\u3082\u306e\u3092\u79c1\u305f\u3061\u306eSpring Boot HelloWorld\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u63d0\u4f9b\u3059\u308b\u306e\u306f\u8ab0\u3067\u3059\u304b\uff1f\u307e\u305a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u3066\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u3001\u305d\u308c\u304b\u3089\u3053\u306e\u8cea\u554f\u306b\u7b54\u3048\u307e\u3057\u3087\u3046\u3002- \u4eca\u3001Spring Boot HelloWorld\u306e\u4f8b\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u306f\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u3001\u79c1\u305f\u3061\u306eSpring Boot HelloWorld\u306e\u4f8b\u306f\u3001Spring MVC RestController\u3092\u4f7f\u7528\u3057\u3066\u6e96\u5099\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u3002Spring Boot Framework\u306e\u30d1\u30ef\u30fc\u3092\u77e5\u308b\u305f\u3081\u306b\u3001\u3053\u306e\u4f8b\u3092\u5b9f\u884c\u3057\u3066\u30c6\u30b9\u30c8\u3059\u308b\u6642\u9593\u3067\u3059\u3002<\/p>\n<h3>Spring Boot\u306eHelloWorld\u306e\u4f8b\u3092\u5b9f\u884c\u3059\u308b\u3002<\/h3>\n<p>\u5f0a\u793e\u306eSpring Boot HelloWorld Example\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Open command prompt at \u201cHelloWorld\u201d Folder in our Local FileSystem.<\/li>\n<li>Execute the following command<\/li>\n<\/ul>\n<pre class=\"post-pre\"><code> spring run HelloWorld.groovy\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li>Observe the output at \u201cspring run\u201d command console.<br \/>\nIf we observe here, when we execute \u201cspring run HelloWorld.groovy\u201d, it starts Embedded Tomcat server at Default port number: 8080. Now our Spring Boot HelloWorld Example application is up and running. It\u2019s time to test it now. NOTE:- If we observe the above screen shot, I have highlighted \u201cSpringApplication\u201d class file. Here o.s.boot.SpringApplication means org.springframework.boot.SpringApplication class. What is this SpringApplication? What is the use of SpringApplication? Please refer my upcoming posts to answer these questions.- Open browser and access the following link.<br \/>\nAccess this URL: https:\/\/localhost:8080\/ Now we are able to access our first Spring Boot MVC RESTful WebService.<\/li>\n<\/ul>\n<p>\u3082\u3057\u79c1\u305f\u3061\u304c\u3053\u306eSpring Boot\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u89b3\u5bdf\u3059\u308b\u306a\u3089\u3001\u79c1\u305f\u3061\u306e\u982d\u306b\u306f\u3053\u306e\u7591\u554f\u304c\u6d6e\u304b\u3076\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff1a\u8ab0\u304c\u79c1\u305f\u3061\u306eSpring Boot HelloWorld\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3053\u308c\u3089\u306e\u3059\u3079\u3066\u306e\u3082\u306e\u3092\u63d0\u4f9b\u3059\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<ul class=\"post-ul\">\n<li>No imports<\/li>\n<li>No other XML configuration to define Spring MVC Components like Views,ViewResolver etc.<\/li>\n<li>No web.xml and No DispatcherServlet declaration<\/li>\n<li>No build scripts to create our Application war file<\/li>\n<li>No need to build war file to deploy this application<\/li>\n<\/ul>\n<p>\u3053\u306e\u8cea\u554f\u306e\u7b54\u3048\u306f\u3001Spring Boot\u306e\u30b3\u30a2\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3042\u308bGroovy\u30b3\u30f3\u30d1\u30a4\u30e9\uff08groovyc\uff09\u3068Groovy Grape\uff08Groovy\u306eJAR\u4f9d\u5b58\u95a2\u4fc2\u30de\u30cd\u30fc\u30b8\u30e3\uff09\u306e\u8cac\u4efb\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002Spring Boot\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3001\u5fc5\u8981\u306a\u30a4\u30f3\u30dd\u30fc\u30c8\u306e\u8ffd\u52a0\u3001\u5fc5\u8981\u306a\u69cb\u6210\u306e\u63d0\u4f9b\u3001jar\u4f9d\u5b58\u95a2\u4fc2\u306e\u89e3\u6c7a\u3001main()\u30e1\u30bd\u30c3\u30c9\u306e\u8ffd\u52a0\u306a\u3069\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306bGroovy\u30b3\u30f3\u30d1\u30a4\u30e9\u3068Groovy Grape\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002Spring Boot\u958b\u767a\u8005\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u306e\u3053\u3068\u3092\u5fc3\u914d\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002Spring Boot\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u3053\u308c\u3089\u306e\u3059\u3079\u3066\u3092\u4e16\u8a71\u3092\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u305d\u308c\u304cSpring Boot\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u7f8e\u3057\u3055\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001Spring Boot\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u591a\u304f\u306e\u96db\u5f62\u30b3\u30fc\u30c9\u3084Spring\u306e\u8a2d\u5b9a\u3092\u907f\u3051\u3001\u958b\u767a\u6642\u9593\u3092\u77ed\u7e2e\u3057\u3001\u751f\u7523\u6027\u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001Spring Boot\u306e\u6ce8\u91c8\u3084API\u3001Spring Boot\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306emain()\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u7528\u306b\u3064\u3044\u3066\u306f\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u8cea\u554f\u306b\u306f\u3001Spring Boot\u306eIDE\u3092\u4f7f\u7528\u3057\u3066\u4eca\u5f8c\u306e\u6295\u7a3f\u3067\u56de\u7b54\u3057\u307e\u3059\u3002\u3053\u308c\u3067Spring Boot CLI\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u306f\u7d42\u308f\u308a\u3067\u3059\u3002\u3054\u8cea\u554f\u304c\u3042\u308c\u3070\u3001\u30b3\u30e1\u30f3\u30c8\u3067\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u79c1\u306e\u4ee5\u524d\u306e\u6295\u7a3f\u300cSpring Boot\u306e\u7d39\u4ecb\u300d\u3068\u300cSpring Boot\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u5185\u90e8\u300d\u3067\u306f\u3001Spring Boot\u306e\u57fa\u672c\u7684\u306a\u5185\u5bb9\u30684\u3064\u306e\u4e3b\u8981\u306aSpring Boot\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f7f\u7528\u306b\u3064\u3044\u3066\u8a71\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306f [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,18],"class_list":["post-359","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-18"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068helloworld\u306e\u4f8b\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b\" \/>\n<meta property=\"og:description\" content=\"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068helloworld\u306e\u4f8b\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-11T00:56:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T13:57:51+00:00\" \/>\n<meta name=\"author\" content=\"\u7dbe\u4e43, \u4e00\u5e0c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7dbe\u4e43, \u4e00\u5e0c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"13\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/\",\"name\":\"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2022-08-11T00:56:16+00:00\",\"dateModified\":\"2025-07-31T13:57:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff\"},\"description\":\"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff\",\"name\":\"\u7dbe\u4e43, \u4e00\u5e0c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g\",\"caption\":\"\u7dbe\u4e43, \u4e00\u5e0c\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/ayanokazuki\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b - Blog - Silicon Cloud","description":"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068helloworld\u306e\u4f8b\/","og_locale":"ja_JP","og_type":"article","og_title":"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b","og_description":"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068helloworld\u306e\u4f8b\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-08-11T00:56:16+00:00","article_modified_time":"2025-07-31T13:57:51+00:00","author":"\u7dbe\u4e43, \u4e00\u5e0c","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u7dbe\u4e43, \u4e00\u5e0c","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"13\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/","name":"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2022-08-11T00:56:16+00:00","dateModified":"2025-07-31T13:57:51+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff"},"description":"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Spring Boot CLI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068HelloWorld\u306e\u4f8b"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff","name":"\u7dbe\u4e43, \u4e00\u5e0c","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g","caption":"\u7dbe\u4e43, \u4e00\u5e0c"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/ayanokazuki\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring-boot-cli%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%a8helloworld%e3%81%ae%e4%be%8b\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":39585,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/359\/revisions\/39585"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}