{"id":40267,"date":"2023-02-03T16:33:23","date_gmt":"2023-02-12T09:12:57","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/"},"modified":"2024-04-29T12:57:28","modified_gmt":"2024-04-29T04:57:28","slug":"%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/","title":{"rendered":"\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762"},"content":{"rendered":"<p>\u6211\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0a\u521b\u5efa\u4e86\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762\uff0c\u6211\u5c06\u8bb0\u5f55\u4e0b\u5f53\u65f6\u7684\u6b65\u9aa4\u3002<\/p>\n<h1>\u73af\u5883<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Pleiades All in One Eclipse\uff08\u30ea\u30ea\u30fc\u30b9 2021-06\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Spring Tool Suite (STS) 4.11.0<\/ul>\n<p>\u8bf7\u53c2\u9605\u4e0a\u4e00\u7bc7\u6587\u7ae0 &#8220;\u5982\u4f55\u5728Eclipse\u4e2d\u5b89\u88c5Spring Tool Suite\u63d2\u4ef6&#8221;\uff0c\u4e86\u89e3\u5173\u4e8e &#8220;Pleiades All in One Eclipse&#8221; \u548c &#8220;Spring Tool Suite (STS)&#8221; \u7684\u5b89\u88c5\u65b9\u6cd5\u3002<\/p>\n<h1>\u6211\u8bd5\u8fc7\u7684\u6b65\u9aa4 (W\u01d2 de<\/h1>\n<h3>1. \u521b\u5efaEclipse\u9879\u76ee<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/6-0.png\" alt=\"01.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/7-0.png\" alt=\"02.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/8-0.png\" alt=\"03.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/9-0.png\" alt=\"04.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/10-0.png\" alt=\"05.png\" \/><\/div>\n<h3>2. \u521b\u5efa\u300c\u6b22\u8fce\u8bbf\u95ee\uff01Spring Boot + Thymeleaf\u300d\u9875\u9762\u3002<\/h3>\n<p>\u5f53\u8bbf\u95ee http:\/\/localhost:8080\/ \u65f6\uff0c\u5c06\u521b\u5efa\u4e00\u4e2a\u663e\u793a &#8220;\u6b22\u8fce\u6765\u5230Spring Boot + Thymeleaf\uff01&#8221; \u9875\u9762\u7684\u793a\u4f8b\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/13-0.png\" alt=\"06.png\" \/><\/div>\n<pre class=\"post-pre\"><code><span class=\"kn\">package<\/span> <span class=\"nn\">com.example.demo<\/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.ui.Model<\/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\">DemoController<\/span> <span class=\"o\">{<\/span>\r\n\r\n    <span class=\"nd\">@RequestMapping<\/span><span class=\"o\">(<\/span><span class=\"s\">\"\/\"<\/span><span class=\"o\">)<\/span>\r\n    <span class=\"kd\">public<\/span> <span class=\"nc\">String<\/span> <span class=\"nf\">index<\/span><span class=\"o\">(<\/span><span class=\"nc\">Model<\/span> <span class=\"n\">model<\/span><span class=\"o\">)<\/span> <span class=\"o\">{<\/span>\r\n        <span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"na\">addAttribute<\/span><span class=\"o\">(<\/span><span class=\"s\">\"message\"<\/span><span class=\"o\">,<\/span> <span class=\"s\">\"\u3088\u3046\u3053\u305d\uff01Spring boot + Thymeleaf\u3078\uff01\"<\/span><span class=\"o\">);<\/span>\r\n        <span class=\"k\">return<\/span> <span class=\"s\">\"index\"<\/span><span class=\"o\">;<\/span>\r\n    <span class=\"o\">}<\/span>\r\n<span class=\"o\">}<\/span>\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/15-0.png\" alt=\"07.png\" \/><\/div>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;!DOCTYPE html&gt;<\/span>\r\n<span class=\"nt\">&lt;html<\/span> <span class=\"na\">xmlns:th=<\/span><span class=\"s\">\"http:\/\/www.thymeleaf.org\"<\/span><span class=\"nt\">&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>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8<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;p<\/span> <span class=\"na\">th:text=<\/span><span class=\"s\">\"${message}\"<\/span><span class=\"nt\">&gt;&lt;\/p&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<h3>3. \u8fd0\u884cSpring Boot\u5e94\u7528\u7a0b\u5e8f<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/18-0.png\" alt=\"08.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/19-0.png\" alt=\"09.png\" \/><\/div>\n<pre class=\"post-pre\"><code>\r\n  .   ____          _            __ _ _\r\n \/\\\\ \/ ___'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\r\n( ( )\\___ | '_ | '_| | '_ \\\/ _` | \\ \\ \\ \\\r\n \\\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\r\n  '  |____| .__|_| |_|_| |_\\__, | \/ \/ \/ \/\r\n =========|_|==============|___\/=\/_\/_\/_\/\r\n[32m :: Spring Boot :: [39m              [2m (v2.5.2)[0;39m\r\n\r\n[2m2021-07-06 23:45:47.817[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mcom.example.demo.DemoApplication        [0;39m [2m:[0;39m Starting DemoApplication using Java 1.8.0_202 on yasushi-PC with PID 7592 (C:\\DK\\pleiades-2021-06-java\\pleiades\\workspace\\demo\\target\\classes started by yasushi in C:\\DK\\pleiades-2021-06-java\\pleiades\\workspace\\demo)\r\n[2m2021-07-06 23:45:47.820[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mcom.example.demo.DemoApplication        [0;39m [2m:[0;39m No active profile set, falling back to default profiles: default\r\n[2m2021-07-06 23:45:48.471[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mo.s.b.w.embedded.tomcat.TomcatWebServer [0;39m [2m:[0;39m Tomcat initialized with port(s): 8080 (http)\r\n[2m2021-07-06 23:45:48.479[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mo.apache.catalina.core.StandardService  [0;39m [2m:[0;39m Starting service [Tomcat]\r\n[2m2021-07-06 23:45:48.479[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36morg.apache.catalina.core.StandardEngine [0;39m [2m:[0;39m Starting Servlet engine: [Apache Tomcat\/9.0.48]\r\n[2m2021-07-06 23:45:48.543[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mo.a.c.c.C.[Tomcat].[localhost].[\/]      [0;39m [2m:[0;39m Initializing Spring embedded WebApplicationContext\r\n[2m2021-07-06 23:45:48.543[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mw.s.c.ServletWebServerApplicationContext[0;39m [2m:[0;39m Root WebApplicationContext: initialization completed in 682 ms\r\n[2m2021-07-06 23:45:48.758[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mo.s.b.a.w.s.WelcomePageHandlerMapping   [0;39m [2m:[0;39m Adding welcome page template: index\r\n[2m2021-07-06 23:45:48.852[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mo.s.b.w.embedded.tomcat.TomcatWebServer [0;39m [2m:[0;39m Tomcat started on port(s): 8080 (http) with context path ''\r\n[2m2021-07-06 23:45:48.859[0;39m [32m INFO[0;39m [35m7592[0;39m [2m---[0;39m [2m[           main][0;39m [36mcom.example.demo.DemoApplication        [0;39m [2m:[0;39m Started DemoApplication in 1.337 seconds (JVM running for 1.833)\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/21-0.png\" alt=\"10.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/22-0.png\" alt=\"11.png\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/23-0.png\" alt=\"12.png\" \/><\/div>\n<hr \/>\n<p>\u4ee5\u4e0a<\/p>\n<p>\u4e0b\u6b21\u5c1d\u8bd5\u4f7f\u7528\u9875\u9762\u5bfc\u822a\u548c\u4f20\u9012\u53c2\u6570\u6765\u521b\u5efaSpring boot + Thymeleaf\u7684Web\u754c\u9762\uff0c\u5e76\u8fdb\u884c\u9875\u9762\u8df3\u8f6c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0a\u521b\u5efa\u4e86\u4e00\u4e2a\u7b80 [&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-40267","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\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762 - 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\u7528\u300cspring-tool-suite\u300d\u5728\u300cspring-boot-thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684web\u754c\u9762\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762\" \/>\n<meta property=\"og:description\" content=\"\u6211\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0a\u521b\u5efa\u4e86\u4e00\u4e2a\u7b80 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528\u300cspring-tool-suite\u300d\u5728\u300cspring-boot-thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684web\u754c\u9762\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-12T09:12:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T04:57:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/6-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=\"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%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/\",\"name\":\"\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-02-12T09:12:57+00:00\",\"dateModified\":\"2024-04-29T04:57:28+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%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762\"}]},{\"@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%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762 - 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\u7528\u300cspring-tool-suite\u300d\u5728\u300cspring-boot-thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684web\u754c\u9762\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762","og_description":"\u6211\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0a\u521b\u5efa\u4e86\u4e00\u4e2a\u7b80 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528\u300cspring-tool-suite\u300d\u5728\u300cspring-boot-thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684web\u754c\u9762\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-02-12T09:12:57+00:00","article_modified_time":"2024-04-29T04:57:28+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d3f8537434c4406c8f181\/6-0.png"}],"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%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/","name":"\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-02-12T09:12:57+00:00","dateModified":"2024-04-29T04:57:28+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%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528\u300cSpring Tool Suite\u300d\u5728\u300cSpring boot + Thymeleaf\u300d\u4e0b\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u754c\u9762"}]},{"@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%a8%e3%80%8cspring-tool-suite%e3%80%8d%e5%9c%a8%e3%80%8cspring-boot-thymeleaf%e3%80%8d%e4%b8%8b%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e7%9a%84web%e7%95%8c%e9%9d%a2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40267","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=40267"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40267\/revisions"}],"predecessor-version":[{"id":85411,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40267\/revisions\/85411"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}