{"id":39614,"date":"2023-07-14T00:29:35","date_gmt":"2023-04-08T09:52:24","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/"},"modified":"2024-04-30T13:27:35","modified_gmt":"2024-04-30T05:27:35","slug":"%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/","title":{"rendered":"\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f"},"content":{"rendered":"<h1>\u73af\u5883<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Windows 10, \u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Maven 3.6.0<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Java 11<\/ul>\n<h1>\u4f7f\u7528Maven\u521b\u5efa\u4e00\u4e2a\u7a7a\u9879\u76ee\u3002<\/h1>\n<p>\u4f7f\u7528maven-archetype-quickstart\u6307\u5b9aarchetype\uff0c\u6267\u884cmvn archetype:generate\u547d\u4ee4\u4ee5\u751f\u6210\u9879\u76ee\u3002<\/p>\n<pre class=\"post-pre\"><code>&gt; mvn -B archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DgroupId=net.hidakanoko -DartifactId=spring-boot-hello-world -Dversion=1.0.0-SNAPSHOT\r\n&gt; cd spring-boot-hello-world\r\n<\/code><\/pre>\n<h1>POM\u7684\u7f16\u8f91<\/h1>\n<p>\u5728prent\u4e2d\u6307\u5b9aspring-boot-starter-parent\u3002<\/p>\n<pre class=\"post-pre\"><code>(...\u7701\u7565)\r\n    &lt;maven.compiler.target&gt;1.7&lt;\/maven.compiler.target&gt;\r\n  &lt;\/properties&gt;\r\n\r\n  &lt;parent&gt;\r\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;spring-boot-starter-parent&lt;\/artifactId&gt;\r\n    &lt;version&gt;2.1.3.RELEASE&lt;\/version&gt;\r\n  &lt;\/parent&gt;\r\n\r\n  &lt;dependencies&gt;\r\n(...\u7701\u7565)\r\n<\/code><\/pre>\n<p>\u5982\u679c\u4f7f\u7528&#8221;spring-boot-starter-parent&#8221;\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u8fdb\u884c\u5404\u79cd\u914d\u7f6e\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86dependency-management\u90e8\u5206\uff0c\u53ef\u4ee5\u7701\u7565\u4f9d\u8d56\u9879\u7684\u7248\u672c\u58f0\u660e\u3002<\/p>\n<p>\u8fd9\u4e2aparent pom\u5728Github\u4e0a\u53ef\u4ee5\u627e\u5230\u3002<br \/>\nhttps:\/\/github.com\/spring-projects\/spring-boot\/blob\/master\/spring-boot-project\/spring-boot-starters\/spring-boot-starter-parent\/pom.xml<\/p>\n<p>\u6211\u4eec\u5148\u786e\u8ba4\u4e00\u4e0b\u6b64\u65f6mvn clean install\u6210\u529f\u3002<\/p>\n<pre class=\"post-pre\"><code>&gt;mvn clean install\r\n\r\n(...\u7701\u7565)\r\n\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time:  16.193 s\r\n[INFO] Finished at: 2019-03-17T10:38:22+09:00\r\n[INFO] ------------------------------------------------------------------------\r\n<\/code><\/pre>\n<h2>\u65b0\u589e\u4f9d\u8d56\u5e93<\/h2>\n<p>Spring Boot Starter Web\u63d0\u4f9b\u4e86\u6784\u5efaWeb\u670d\u52a1\u6240\u9700\u7684\u5e93\u4f9d\u8d56\uff0c\u5305\u62ecRESTful API\u3001MVC\u548c\u5d4c\u5165\u5f0fTomcat\u7b49\u3002<\/p>\n<p>\u5728dependencies\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u914d\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>  &lt;dependencies&gt;\r\n\r\n    &lt;dependency&gt;\r\n      &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n      &lt;artifactId&gt;spring-boot-starter-web&lt;\/artifactId&gt;\r\n    &lt;\/dependency&gt;\r\n\r\n<\/code><\/pre>\n<p>\u901a\u8fc7\u547d\u4ee4\u884c\u6267\u884cmvn dependency:tree\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u6dfb\u52a0\u7684\u4f9d\u8d56\u5e93\u3002<\/p>\n<h1>\u7f16\u5199\u4ee3\u7801<\/h1>\n<p>\u6253\u5f00\u5df2\u7ecf\u90e8\u7f72\u7684App.java\u6587\u4ef6\u5e76\u8fdb\u884c\u4ee5\u4e0b\u7f16\u8f91\u3002<\/p>\n<pre class=\"post-pre\"><code>package net.hidakanoko;\r\n\r\nimport org.springframework.boot.*;\r\nimport org.springframework.boot.autoconfigure.*;\r\nimport org.springframework.web.bind.annotation.*;\r\n\r\n@RestController\r\n@EnableAutoConfiguration\r\npublic class App \r\n{\r\n    @RequestMapping(\"\/\")\r\n    String home() {\r\n        return \"Hello World!\";\r\n    }\r\n\r\n    public static void main(String[] args) {\r\n        SpringApplication.run(App.class, args);\r\n    }\r\n}\r\n<\/code><\/pre>\n<h1>\u6807\u6ce8\u548c\u5904\u7406<\/h1>\n<p>@RestController \u30b9\u30c6\u30ec\u30aa\u30bf\u30a4\u30d7\u3068\u547c\u3070\u308c\u308b\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u3001\u30b3\u30fc\u30c9\u3092\u8aad\u3080\u4eba\u3068Spring\u306b\u5bfe\u3057\u3066\u3053\u306e\u30af\u30e9\u30b9\u304c\u7279\u5b9a\u306e\u5f79\u5272\u3092\u679c\u305f\u3059\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002\u3053\u306e\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u30af\u30e9\u30b9\u304cWeb@Controller\u3067\u3042\u308b\u3053\u3068\u3092\u660e\u793a\u3057\u3066\u3001Spring\u304cWeb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9069\u5207\u306b\u6271\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>@RequestMapping \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u60c5\u5831\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002\u6307\u5b9a\u3055\u308c\u305f\u30d1\u30b9 &#8220;\/&#8221; \u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306fhome\u30e1\u30bd\u30c3\u30c9\u3067\u51e6\u7406\u3055\u308c\u307e\u3059\u3002@RestController\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u623b\u308a\u5024\u306f\u305d\u306e\u307e\u307e\u547c\u3073\u51fa\u3057\u5143\u306b\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>@EnableAutoConfiguration \u3053\u306e\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u304a\u304f\u3068\u3001jar\u306e\u4f9d\u5b58\u6027\u7b49\u306b\u5fdc\u3058\u3066Spring\u3092\u3044\u3044\u611f\u3058\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u308c\u307e\u3059\u3002spring-boot-starter-web\u304cSpring MVC\u3084Tomcat\u3078\u306e\u4f9d\u5b58\u6027\u3092\u8ffd\u52a0\u3059\u308b\u306e\u3067\u3001\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3042\u308b\u3068\u5224\u5b9a\u3055\u308c\u3001Spring\u3082\u305d\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>main\u30e1\u30bd\u30c3\u30c9\u306fJava\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u3053\u3053\u3067\u306fSpringApplication.run\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002run\u30e1\u30bd\u30c3\u30c9\u306b\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u30bd\u30fc\u30b9\u3068\u3057\u3066\u30ed\u30fc\u30c9\u3059\u308b\u30af\u30e9\u30b9App.class\u3068\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30d1\u30e9\u30fc\u30e1\u30fc\u30bf\u30fc\u304c\u305d\u306e\u307e\u307e\u6e21\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h1>\u6267\u884c<\/h1>\n<p>\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884cmvn spring-boot:run\u4ee5\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\u3002<br \/>\n\u5f53\u786e\u8ba4\u53ef\u4ee5\u770b\u5230\u4ee5\u4e0b\u8f93\u51fa\u65f6\uff0c\u5c1d\u8bd5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95eehttp:\/\/localhost:8080\u3002\u5982\u679c\u8fd4\u56de&#8221;Hello World&#8221;\uff0c\u5219\u8868\u793a\u6210\u529f\u3002<\/p>\n<pre class=\"post-pre\"><code>&gt; mvn spring-boot:run\r\n\r\n  .   ____          _            __ _ _\r\n \/\\\\ \/ ___'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\r\n( ( )\\___ | '_ | '_| | '_ \\\/ _` | \\ \\ \\ \\\r\n \\\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\r\n  '  |____| .__|_| |_|_| |_\\__, | \/ \/ \/ \/\r\n =========|_|==============|___\/=\/_\/_\/_\/\r\n :: Spring Boot ::        (v2.1.3.RELEASE)\r\n<\/code><\/pre>\n<hr \/>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5efa\u8bae\u7684\u4e2d\u6587\u7ffb\u8bd1\u9009\u9879\uff1a<\/p>\n<p>1. https:\/\/docs.spring.io\/spring-boot\/docs\/2.1.3.RELEASE\/reference\/htmlsingle\/<br \/>\n\u8bf7\u53c2\u8003\u5b98\u65b9\u6587\u6863\uff0c\u7f51\u5740\u4e3ahttps:\/\/docs.spring.io\/spring-boot\/docs\/2.1.3.RELEASE\/reference\/htmlsingle\/\u3002<\/p>\n<p>2. https:\/\/github.com\/spring-projects\/spring-boot\/blob\/master\/spring-boot-project\/spring-boot-starters\/spring-boot-starter-parent\/pom.xml<br \/>\n\u8bf7\u8bbf\u95ee\u8be5\u94fe\u63a5\uff0c\u5176\u4e2d\u5305\u542bSpring Boot\u7684GitHub\u6e90\u4ee3\u7801\u4fe1\u606f\uff0c\u8def\u5f84\u4e3ahttps:\/\/github.com\/spring-projects\/spring-boot\/blob\/master\/spring-boot-project\/spring-boot-starters\/spring-boot-starter-parent\/pom.xml\u3002<\/p>\n<p>3. https:\/\/mvnrepository.com\/artifact\/org.springframework.boot\/spring-boot-starter-web<br \/>\n\u8bf7\u5230Maven\u4ed3\u5e93\u67e5\u627e\u201corg.springframework.boot\u201d\u5305\u7684\u201cspring-boot-starter-web\u201d\u7ec4\u4ef6\uff0c\u7f51\u5740\u4e3ahttps:\/\/mvnrepository.com\/artifact\/org.springframework.boot\/spring-boot-starter-web\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73af\u5883 Windows 10, \u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089 &nbsp; Maven 3.6.0 &#038;n [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-39614","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"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>\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f - Blog - Silicon Cloud<\/title>\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\/zh\/blog\/\u4f7f\u7528spring-boot\u7f16\u5199hello-world\u7a0b\u5e8f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f\" \/>\n<meta property=\"og:description\" content=\"\u73af\u5883 Windows 10, \u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089 &nbsp; Maven 3.6.0 &amp;n [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot\u7f16\u5199hello-world\u7a0b\u5e8f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-08T09:52:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T05:27:35+00:00\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/\",\"name\":\"\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-04-08T09:52:24+00:00\",\"dateModified\":\"2024-04-30T05:27:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f - Blog - Silicon Cloud","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\/zh\/blog\/\u4f7f\u7528spring-boot\u7f16\u5199hello-world\u7a0b\u5e8f\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f","og_description":"\u73af\u5883 Windows 10, \u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089 &nbsp; Maven 3.6.0 &n [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot\u7f16\u5199hello-world\u7a0b\u5e8f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-08T09:52:24+00:00","article_modified_time":"2024-04-30T05:27:35+00:00","author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/","name":"\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-04-08T09:52:24+00:00","dateModified":"2024-04-30T05:27:35+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528Spring Boot\u7f16\u5199Hello World\u7a0b\u5e8f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot%e7%bc%96%e5%86%99hello-world%e7%a8%8b%e5%ba%8f\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/39614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=39614"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/39614\/revisions"}],"predecessor-version":[{"id":92182,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/39614\/revisions\/92182"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=39614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=39614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=39614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}