{"id":40079,"date":"2023-03-16T09:05:15","date_gmt":"2024-01-16T13:54:18","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/"},"modified":"2024-04-29T19:07:27","modified_gmt":"2024-04-29T11:07:27","slug":"%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/","title":{"rendered":"\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011"},"content":{"rendered":"<h2>SpringBoot\u662f\u4ec0\u4e48\uff1f<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3e5f37434c4406c8a9e2\/1-0.png\" alt=\"image.png\" \/><\/div>\n<h4>\u6a21\u578b\uff08MVC\uff09<\/h4>\n<p>\u4e00\u4e2a\u5305\u542b\u4e86\u60f3\u8981\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b9e\u73b0\u7684\u64cd\u4f5c\u7684\u7c7b\u3002\u4f7f\u7528Java\u8bed\u8a00\u6765\u7f16\u5199\u3002<\/p>\n<h4>\u6a21\u578b-\u89c6\u56fe-\u63a7\u5236\u5668 (MVC)<\/h4>\n<p>\u7528HTML\u6216\u5176\u4ed6\u65b9\u5f0f\u6765\u7f16\u5199\u663e\u793a\u6267\u884c\u7ed3\u679c\u7684\u754c\u9762\u3002<\/p>\n<h4>\u63a7\u5236\u5668 (MVC)<\/h4>\n<p>\u63a7\u5236Model\u548cView\u7684\u7a0b\u5e8f\u3002\u4f7f\u7528Java\u7f16\u5199\u3002<\/p>\n<h5>\u63d0\u4f9b\u4e86\u9002\u7528\u4e8eWeb\u5e94\u7528\u7684\u5171\u540c\u57fa\u7840\u529f\u80fd\u7684\u6846\u67b6\u3002<\/h5>\n<h2>\u6211\u5728VSCode\u4e2d\u5c1d\u8bd5\u4f7f\u7528Spring Boot\u6765\u663e\u793a\u201cHello World\u201d\u3002<\/h2>\n<h4>1. \u5b89\u88c5\u6269\u5c55\u529f\u80fd<\/h4>\n<pre class=\"post-pre\"><code>Java Extension Pack\r\nSpring Boot Extension Pack\r\n<\/code><\/pre>\n<h4>2. \u521b\u5efa\u9879\u76ee<\/h4>\n<p>\u5728\u547d\u4ee4\u8c03\u5ea6\u83dc\u5355\u4e2d\u641c\u7d22Spring\u3002<\/p>\n<pre class=\"post-pre\"><code>\u3010Win\u3011Ctrl + Shift + P\r\n\u3010Mac\u3011Command + Shift + P\r\n<\/code><\/pre>\n<p>\u9009\u62e9\u300cSpring Initializr\uff1a\u751f\u6210\u4e00\u4e2aMaven\u9879\u76ee\u300d\u3002<br \/>\n\u9009\u62e9\u300cJava\u300d\u3002<br \/>\n\u8f93\u5165\u5305\u540d\u3002<\/p>\n<pre class=\"post-pre\"><code>\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3092\u5165\u529b\u3057\u3001\u300cEnter\u300d\u3092\u62bc\u3059\u3002 \u203b \u53d6\u308a\u6d88\u3057\u305f\u3044\u5834\u5408\u306f\u300cEsc\u300d\r\n\u4f8b\uff1acom.example\r\n<\/code><\/pre>\n<p>\u8bf7\u586b\u5199\u9879\u76ee\u540d\u79f0\u3002<\/p>\n<pre class=\"post-pre\"><code>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u5165\u529b\u3057\u3001\u300cEnter\u300d\u3092\u62bc\u3059\u3002\u203b\u53d6\u308a\u6d88\u3057\u305f\u3044\u5834\u5408\u306f\u300cEsc\u300d\r\n\u4f8b\uff1ademo\r\n<\/code><\/pre>\n<p>\u2465\u9009\u62e9Spring Boot\u7684\u7248\u672c\u3002<br \/>\n\u2466\u9009\u62e9\u4e24\u4e2a\u4f9d\u8d56\u9879\uff0c\u7136\u540e\u6309\u4e0b&#8221;Enter&#8221;\u952e\u3002<\/p>\n<pre class=\"post-pre\"><code>Spring Web\r\nThymeleaf\r\n<\/code><\/pre>\n<p>\u8bf7\u6307\u5b9a\u4e00\u4e2a\u4fdd\u5b58\u4f4d\u7f6e\u6765\u521b\u5efa\u7b2c8\u4e2a\u9879\u76ee\u3002<br \/>\n\u203b \u5982\u679c\u5728VSCode\u53f3\u4e0b\u89d2\u663e\u793a\u201c\u6210\u529f\u751f\u6210\u201d\uff0c\u5219\u8868\u793a\u6210\u529f\uff01<\/p>\n<p>\u786e\u8ba4\u662f\u5426\u5b9e\u9645\u521b\u5efa\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code>\/\/ \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210\r\n\r\n|\u2015 src\r\n |   |\u2015 main\r\n |   |    |\u2015 java\r\n |   |    |    |\u2015 com\r\n |   |    |        |\u2015 example\r\n |   |    |             |\u2015 demo(\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d)\r\n |   |    |                      |\u2015 DemoApplication.java\r\n |   |    |\u2015 resources\r\n |   |           |\u2015 static\/ (\u9759\u7684\u30d5\u30a1\u30a4\u30eb)\r\n |   |           |\u2015 templates\/ (\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb)\r\n |   |           |\u2015 application.properties (\u74b0\u5883\u72ec\u81ea\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb)\r\n |   |\u2015 test\r\n |       |\u2015 java\r\n |            |\u2015 com\r\n |                |\u2015 example\r\n |                      |\u2015 demo(\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d)\r\n |                               |\u2015 DemoApplicationTests.java\r\n |\u2015 .gitignore\r\n |\u2015 HELP.md\r\n |\u2015 mvnw\r\n |\u2015 mvnw.cmd\r\n |\u2015 pom.xml (Maven\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb)\r\n<\/code><\/pre>\n<h4>3. \u6253\u5370&#8221;Hello World&#8221;<\/h4>\n<p>\u521b\u5efaHelloController.java\u6587\u4ef6<\/p>\n<pre class=\"post-pre\"><code>src\/main\/java\/com\/example\/demo\/\u306e\u914d\u4e0b\u306bcontroller\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\r\ncontroller\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b\u300eHelloController.java\u300f\u3092\u4f5c\u6210\u3059\u308b\u3002\r\n<\/code><\/pre>\n<p>\u8bf7\u5c06\u5df2\u521b\u5efa\u7684&#8221;HelloController.java&#8221;\u6587\u4ef6\u6309\u7167\u4ee5\u4e0b\u5185\u5bb9\u8fdb\u884c\u4fee\u6539\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"kn\">package<\/span> <span class=\"nn\">com.example.demo.controller<\/span><span class=\"o\">;<\/span>\r\n\r\n<span class=\"kn\">import<\/span> <span class=\"nn\">org.springframework.stereotype.Controller<\/span><span class=\"o\">;<\/span>\r\n<span class=\"kn\">import<\/span> <span class=\"nn\">org.springframework.web.bind.annotation.RequestMapping<\/span><span class=\"o\">;<\/span>\r\n\r\n<span class=\"nd\">@Controller<\/span>\r\n<span class=\"kd\">public<\/span> <span class=\"kd\">class<\/span> <span class=\"nc\">HelloController<\/span> <span class=\"o\">{<\/span>\r\n    <span class=\"nd\">@RequestMapping<\/span><span class=\"o\">(<\/span><span class=\"s\">\"\/hello\"<\/span><span class=\"o\">)<\/span>\r\n\t<span class=\"kd\">public<\/span> <span class=\"nc\">String<\/span> <span class=\"nf\">index<\/span><span class=\"o\">()<\/span> <span class=\"o\">{<\/span>\r\n\t\t<span class=\"k\">return<\/span> <span class=\"s\">\"hello\"<\/span><span class=\"o\">;<\/span>\r\n\t<span class=\"o\">}<\/span>\r\n<span class=\"o\">}<\/span>\r\n<\/code><\/pre>\n<p>\u5728&#8221;src\/main\/resources\/templates\/&#8221;\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a&#8221;hello.html&#8221;\u7684\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;!DOCTYPE html&gt;<\/span>\r\n<span class=\"nt\">&lt;html&gt;<\/span>\r\n<span class=\"nt\">&lt;head&gt;<\/span>\r\n    <span class=\"nt\">&lt;meta<\/span> <span class=\"na\">charset=<\/span><span class=\"s\">\"UTF-8\"<\/span><span class=\"nt\">&gt;<\/span>\r\n    <span class=\"nt\">&lt;title&gt;<\/span>Hello!!!<span class=\"nt\">&lt;\/title&gt;<\/span>\r\n<span class=\"nt\">&lt;\/head&gt;<\/span>\r\n<span class=\"nt\">&lt;body&gt;<\/span>\r\n    <span class=\"nt\">&lt;h1&gt;<\/span>HelloWorld<span class=\"nt\">&lt;\/h1&gt;<\/span>\r\n<span class=\"nt\">&lt;\/body&gt;<\/span>\r\n<span class=\"nt\">&lt;\/html&gt;<\/span>\r\n<\/code><\/pre>\n<p>\u9009\u62e9\u201c\u8fd0\u884c\u201d&gt;\u201c\u5f00\u59cb\u8c03\u8bd5\u201d\u3002<\/p>\n<pre class=\"post-pre\"><code>\u203b\u521d\u56de\u6642\u306flaunch.json\u304c\u751f\u6210\u3055\u308c\u308b\u305f\u3081\u3001\u518d\u5ea6\u300c\u5b9f\u884c &gt; \u30c7\u30d0\u30c3\u30b0\u306e\u958b\u59cb\u300d\u3092\u9078\u629e\u3059\u308b\u3002\u30c7\u30d0\u30c3\u30b0\u304c\u958b\u59cb\u3055\u308c\u308b\u3068Spring Boot\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u7acb\u3061\u4e0a\u304c\u308b\u3002\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3e5f37434c4406c8a9e2\/33-0.png\" alt=\"image.png\" \/><\/div>\n<h2>\u8bf7\u53c2\u8003\u4ee5\u4e0b\u7f51\u7ad9\uff1a<\/h2>\n<p>\u8ba9\u6211\u4eec\u7528Spring Boot\u6765\u5236\u4f5c\u4e00\u4e2a\u5360\u535c\u7f51\u9875\u5e94\u7528\u5427\uff01\u3010\u4f7f\u7528Java\u8fdb\u884cSpring Boot\u5f00\u53d1 #1\u3011<br \/>\n\u4ec0\u4e48\u662fMVC\u6a21\u578b\uff1f\u8be6\u7ec6\u89e3\u91ca\u4e00\u4e0b\uff01<br \/>\n\u5728VSCode\u4e2d\u5c1d\u8bd5\u663e\u793aSpring Boot\u7684\u201cHello World\u201d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SpringBoot\u662f\u4ec0\u4e48\uff1f \u6a21\u578b\uff08MVC\uff09 \u4e00\u4e2a\u5305\u542b\u4e86\u60f3\u8981\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b9e\u73b0\u7684\u64cd\u4f5c\u7684\u7c7b\u3002\u4f7f\u7528Java\u8bed\u8a00\u6765\u7f16\u5199 [&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-40079","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>\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011 - 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\/\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8espring-boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011\" \/>\n<meta property=\"og:description\" content=\"SpringBoot\u662f\u4ec0\u4e48\uff1f \u6a21\u578b\uff08MVC\uff09 \u4e00\u4e2a\u5305\u542b\u4e86\u60f3\u8981\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b9e\u73b0\u7684\u64cd\u4f5c\u7684\u7c7b\u3002\u4f7f\u7528Java\u8bed\u8a00\u6765\u7f16\u5199 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8espring-boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-16T13:54:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T11:07:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3e5f37434c4406c8a9e2\/1-0.png\" \/>\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=\"1 \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\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/\",\"name\":\"\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-01-16T13:54:18+00:00\",\"dateModified\":\"2024-04-29T11:07:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011\"}]},{\"@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\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011 - 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\/\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8espring-boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011","og_description":"SpringBoot\u662f\u4ec0\u4e48\uff1f \u6a21\u578b\uff08MVC\uff09 \u4e00\u4e2a\u5305\u542b\u4e86\u60f3\u8981\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b9e\u73b0\u7684\u64cd\u4f5c\u7684\u7c7b\u3002\u4f7f\u7528Java\u8bed\u8a00\u6765\u7f16\u5199 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8espring-boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-01-16T13:54:18+00:00","article_modified_time":"2024-04-29T11:07:27+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3e5f37434c4406c8a9e2\/1-0.png"}],"author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/","name":"\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-01-16T13:54:18+00:00","dateModified":"2024-04-29T11:07:27+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6211\u6574\u7406\u4e86\u4e00\u4efd\u5173\u4e8eSpring Boot\u7684\u57fa\u7840\u624b\u518c\u3010\u5165\u95e8\u3011"}]},{"@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\/%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%bb%bd%e5%85%b3%e4%ba%8espring-boot%e7%9a%84%e5%9f%ba%e7%a1%80%e6%89%8b%e5%86%8c%e3%80%90%e5%85%a5%e9%97%a8%e3%80%91%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40079","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=40079"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40079\/revisions"}],"predecessor-version":[{"id":87093,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40079\/revisions\/87093"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}