{"id":39668,"date":"2023-08-11T09:43:45","date_gmt":"2023-12-04T01:32:34","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/"},"modified":"2024-01-15T10:20:17","modified_gmt":"2024-01-15T02:20:17","slug":"%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/","title":{"rendered":"\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3"},"content":{"rendered":"<p>\u5728Spring\u7684\u6587\u6863\u4e2d\u4e5f\u6709\u63d0\u5230\uff0c\u5f53\u5728Spring Boot\u4e2d\u4f7f\u7528thymeleaf 3\u65f6\uff0c\u5982\u679c\u7236\u9879\u76ee\u4e3aspring-boot-starter-parent\uff0c\u53ef\u4ee5\u901a\u8fc7\u5728properties\u4e2d\u6307\u5b9a\u7c7b\u4f3c\u8fd9\u6837\u7684\u8bbe\u7f6e\u6765\u542f\u7528\u5b83\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nt\">&lt;properties&gt;<\/span>\r\n    <span class=\"nt\">&lt;thymeleaf.version&gt;<\/span>3.0.2.RELEASE<span class=\"nt\">&lt;\/thymeleaf.version&gt;<\/span>\r\n    <span class=\"nt\">&lt;thymeleaf-layout-dialect.version&gt;<\/span>2.1.1<span class=\"nt\">&lt;\/thymeleaf-layout-dialect.version&gt;<\/span>\r\n<span class=\"nt\">&lt;\/properties&gt;<\/span>\r\n<\/code><\/pre>\n<p>\u7136\u800c\uff0c\u5728\u516c\u53f8\u6307\u5b9a\u4e86pom\u4f5c\u4e3aparent\u65f6\uff0c\u65e0\u6cd5\u4f7f\u7528spring-boot-starter-parent\u4f5c\u4e3aparent\u6307\u5b9a\u3002<br \/>\n\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u8bbe\u7f6ethymeleaf 3\u7684\u914d\u7f6e\u4f1a\u6709\u4e9b\u590d\u6742\uff0c\u6240\u4ee5\u6211\u505a\u4e86\u4e00\u4e9b\u7b14\u8bb0\u3002<\/p>\n<p>\u5982\u679c\u6ca1\u6709\u6307\u5b9aparent\uff0c\u90a3\u4e48\u5728\u4e2d\u5199\u5165spring-boot-dependency\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nt\">&lt;dependencyManagement&gt;<\/span>\r\n     <span class=\"nt\">&lt;dependencies&gt;<\/span>\r\n        <span class=\"nt\">&lt;dependency&gt;<\/span>\r\n            <span class=\"c\">&lt;!-- Import dependency management from Spring Boot --&gt;<\/span>\r\n            <span class=\"nt\">&lt;groupId&gt;<\/span>org.springframework.boot<span class=\"nt\">&lt;\/groupId&gt;<\/span>\r\n            <span class=\"nt\">&lt;artifactId&gt;<\/span>spring-boot-dependencies<span class=\"nt\">&lt;\/artifactId&gt;<\/span>\r\n            <span class=\"nt\">&lt;version&gt;<\/span>1.5.6.RELEASE<span class=\"nt\">&lt;\/version&gt;<\/span>\r\n            <span class=\"nt\">&lt;type&gt;<\/span>pom<span class=\"nt\">&lt;\/type&gt;<\/span>\r\n            <span class=\"nt\">&lt;scope&gt;<\/span>import<span class=\"nt\">&lt;\/scope&gt;<\/span>\r\n        <span class=\"nt\">&lt;\/dependency&gt;<\/span>\r\n    <span class=\"nt\">&lt;\/dependencies&gt;<\/span>\r\n<span class=\"nt\">&lt;\/dependencyManagement&gt;<\/span>\r\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u8bdd\u662f\u7528\u6765\u89e3\u91ca\u5728Spring Boot\u4e2d\u5982\u4f55\u6307\u5b9a\u6240\u9700\u7684dependencies\u7248\u672c\u7684\u3002<br \/>\n\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u8fd9\u4e9b\u4fe1\u606f\u4f1a\u5728\u8fd9\u4e2a\u5730\u65b9\u6216\u8005\u539f\u59cb\u7684pom\u6587\u4ef6\u4e2d\u5199\u51fa\u6765\u3002<br \/>\n\u5982\u679c\u76f4\u63a5\u4f7f\u7528\u9ed8\u8ba4\u7248\u672c\uff0c\u5c06\u4f1a\u5b89\u88c5thymeleaf 2.1.5\u7248\u672c\u3002\u5982\u679c\u60f3\u8981\u4f7f\u75283\u7248\u672c\uff0c\u9700\u8981\u5728\u7684spring-boot-dependencies\u4e4b\u524d\uff0c\u5199\u51fa\u60f3\u8981\u4fee\u6539\u7684\u6a21\u5757\u7248\u672c\u5e76\u8fdb\u884c\u8986\u76d6\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nt\">&lt;properties&gt;<\/span>\r\n    <span class=\"nt\">&lt;spring-boot.version&gt;<\/span>1.5.6.RELEASE<span class=\"nt\">&lt;\/spring-boot.version&gt;<\/span>\r\n    <span class=\"nt\">&lt;thymeleaf.version&gt;<\/span>3.0.7.RELEASE<span class=\"nt\">&lt;\/thymeleaf.version&gt;<\/span>\r\n    <span class=\"nt\">&lt;thymeleaf-spring4.version&gt;<\/span>3.0.7.RELEASE<span class=\"nt\">&lt;\/thymeleaf-spring4.version&gt;<\/span>\r\n    <span class=\"nt\">&lt;thymeleaf-layout-dialect.version&gt;<\/span>2.2.2<span class=\"nt\">&lt;\/thymeleaf-layout-dialect.version&gt;<\/span>\r\n  <span class=\"nt\">&lt;\/properties&gt;<\/span>\r\n<span class=\"nt\">&lt;dependencyManagement&gt;<\/span>\r\n    <span class=\"nt\">&lt;dependencies&gt;<\/span>\r\n      <span class=\"nt\">&lt;dependency&gt;<\/span>\r\n        <span class=\"nt\">&lt;groupId&gt;<\/span>org.thymeleaf<span class=\"nt\">&lt;\/groupId&gt;<\/span>\r\n        <span class=\"nt\">&lt;artifactId&gt;<\/span>thymeleaf<span class=\"nt\">&lt;\/artifactId&gt;<\/span>\r\n        <span class=\"nt\">&lt;version&gt;<\/span>${thymeleaf.version}<span class=\"nt\">&lt;\/version&gt;<\/span>\r\n      <span class=\"nt\">&lt;\/dependency&gt;<\/span>\r\n      <span class=\"nt\">&lt;dependency&gt;<\/span>\r\n        <span class=\"nt\">&lt;groupId&gt;<\/span>nz.net.ultraq.thymeleaf<span class=\"nt\">&lt;\/groupId&gt;<\/span>\r\n        <span class=\"nt\">&lt;artifactId&gt;<\/span>thymeleaf-layout-dialect<span class=\"nt\">&lt;\/artifactId&gt;<\/span>\r\n        <span class=\"nt\">&lt;version&gt;<\/span>${thymeleaf-layout-dialect.version}<span class=\"nt\">&lt;\/version&gt;<\/span>\r\n      <span class=\"nt\">&lt;\/dependency&gt;<\/span>\r\n      <span class=\"nt\">&lt;dependency&gt;<\/span>\r\n        <span class=\"nt\">&lt;groupId&gt;<\/span>org.thymeleaf<span class=\"nt\">&lt;\/groupId&gt;<\/span>\r\n        <span class=\"nt\">&lt;artifactId&gt;<\/span>thymeleaf-spring4<span class=\"nt\">&lt;\/artifactId&gt;<\/span>\r\n        <span class=\"nt\">&lt;version&gt;<\/span>${thymeleaf-spring4.version}<span class=\"nt\">&lt;\/version&gt;<\/span>\r\n      <span class=\"nt\">&lt;\/dependency&gt;<\/span>\r\n      <span class=\"nt\">&lt;dependency&gt;<\/span>\r\n        <span class=\"nt\">&lt;groupId&gt;<\/span>org.springframework.boot<span class=\"nt\">&lt;\/groupId&gt;<\/span>\r\n        <span class=\"nt\">&lt;artifactId&gt;<\/span>spring-boot-dependencies<span class=\"nt\">&lt;\/artifactId&gt;<\/span>\r\n        <span class=\"nt\">&lt;version&gt;<\/span>${spring-boot.version}<span class=\"nt\">&lt;\/version&gt;<\/span>\r\n        <span class=\"nt\">&lt;type&gt;<\/span>pom<span class=\"nt\">&lt;\/type&gt;<\/span>\r\n        <span class=\"nt\">&lt;scope&gt;<\/span>import<span class=\"nt\">&lt;\/scope&gt;<\/span>\r\n      <span class=\"nt\">&lt;\/dependency&gt;<\/span>\r\n    <span class=\"nt\">&lt;\/dependencies&gt;<\/span>\r\n  <span class=\"nt\">&lt;\/dependencyManagement&gt;<\/span>\r\n<\/code><\/pre>\n<p>\u5c31\u50cf\u8fd9\u6837\u3002<br \/>\n\u53ea\u5199\u5728\u4e2d\u5e76\u4e0d\u80fd\u5b89\u88c5\u5fc5\u8981\u7684\u6a21\u5757\uff0c<br \/>\n\u6240\u4ee5\u8981\u5728\u4e2d\u5199\u4e0a\u8981\u5b89\u88c5\u7684\u6a21\u5757\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nt\">&lt;dependencies&gt;<\/span>\r\n    <span class=\"nt\">&lt;dependency&gt;<\/span>\r\n   <span class=\"nt\">&lt;dependency&gt;<\/span>\r\n      <span class=\"nt\">&lt;groupId&gt;<\/span>org.thymeleaf<span class=\"nt\">&lt;\/groupId&gt;<\/span>\r\n      <span class=\"nt\">&lt;artifactId&gt;<\/span>thymeleaf-spring4<span class=\"nt\">&lt;\/artifactId&gt;<\/span>\r\n    <span class=\"nt\">&lt;\/dependency&gt;<\/span>\r\n    <span class=\"nt\">&lt;dependency&gt;<\/span>\r\n      <span class=\"nt\">&lt;groupId&gt;<\/span>nz.net.ultraq.thymeleaf<span class=\"nt\">&lt;\/groupId&gt;<\/span>\r\n      <span class=\"nt\">&lt;artifactId&gt;<\/span>thymeleaf-layout-dialect<span class=\"nt\">&lt;\/artifactId&gt;<\/span>\r\n    <span class=\"nt\">&lt;\/dependency&gt;<\/span>\r\n  <span class=\"nt\">&lt;\/dependencies&gt;<\/span>\r\n<\/code><\/pre>\n<p>\u5982\u679cpom\u6587\u4ef6\u91cc\u5199\u6709spring-boot-starter-thymeleaf\uff0c\u6211\u4f1a\u5220\u9664\u5b83\u3002<\/p>\n<h2>\u5f15\u53d1<\/h2>\n<p>\u6700\u521d\u6211\u60f3\u5728thymeleaf\u4e2d\u4f7f\u7528LocalDateTime\uff0c\u6240\u4ee5\u6211\u5b89\u88c5\u4e86thymeleaf-extras-java8time\u3002\u4f46\u662f\u5f53\u4f7f\u7528#temporals.format(from, &#8216;yyyyMMdd&#8217;)\u65f6\uff0c\u5982\u679cfrom\u4e3a\u7a7a\uff0c2\u7cfb\u5217\u4f1a\u51fa\u73b0IllegalArgumentException: Cannot apply format on null\u7684\u9519\u8bef\uff0c\u611f\u89c9\u4e0d\u592a\u65b9\u4fbf\u3002\u540e\u6765\u57283.0.1\u7248\u672c\u4e2d\u53d1\u73b0\u8fd9\u4e2a\u95ee\u9898\u5f97\u5230\u89e3\u51b3\u3002\u4f46\u662f\uff0cthymeleaf-extras-java8time\u76843\u7cfb\u5217\u5fc5\u987b\u4e0ethymeleaf 3\u914d\u5957\u4f7f\u7528\u3002\u6240\u4ee5\uff0c\u6211\u5c1d\u8bd5\u5728properties\u4e2d\u5c06thymeleaf\u7684\u7248\u672c\u8bbe\u7f6e\u4e3a3\uff0c\u7ed3\u679c\u9047\u5230\u4e86ClassNotFoundException IExpressionObjectDialect\u8fd9\u6837\u7684\u9519\u8bef\u3002\u7ecf\u8fc7\u8c03\u67e5\u6211\u53d1\u73b0\uff0c\u4ec5\u4ec5\u5728properties\u4e2d\u6307\u5b9a\u7248\u672c\u5e76\u6ca1\u6709\u8d77\u4f5c\u7528\uff0cthymeleaf\u4ecd\u7136\u4fdd\u6301\u57282\u7684\u7248\u672c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728Spring\u7684\u6587\u6863\u4e2d\u4e5f\u6709\u63d0\u5230\uff0c\u5f53\u5728Spring Boot\u4e2d\u4f7f\u7528thymeleaf 3\u65f6\uff0c\u5982\u679c\u7236\u9879\u76ee\u4e3aspri [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-39668","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>\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3 - 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\/\u5728spring-boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528t\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3\" \/>\n<meta property=\"og:description\" content=\"\u5728Spring\u7684\u6587\u6863\u4e2d\u4e5f\u6709\u63d0\u5230\uff0c\u5f53\u5728Spring Boot\u4e2d\u4f7f\u7528thymeleaf 3\u65f6\uff0c\u5982\u679c\u7236\u9879\u76ee\u4e3aspri [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728spring-boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528t\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-04T01:32:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T02:20:17+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u626c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u626c\" \/>\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\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/\",\"name\":\"\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-12-04T01:32:34+00:00\",\"dateModified\":\"2024-01-15T02:20:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3\"}]},{\"@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\/cb5556d2501da73d864cac945e8d9461\",\"name\":\"\u6e05, \u626c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u626c\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3 - 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\/\u5728spring-boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528t\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3","og_description":"\u5728Spring\u7684\u6587\u6863\u4e2d\u4e5f\u6709\u63d0\u5230\uff0c\u5f53\u5728Spring Boot\u4e2d\u4f7f\u7528thymeleaf 3\u65f6\uff0c\u5982\u679c\u7236\u9879\u76ee\u4e3aspri [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728spring-boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528t\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-12-04T01:32:34+00:00","article_modified_time":"2024-01-15T02:20:17+00:00","author":"\u6e05, \u626c","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u626c","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/","name":"\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-12-04T01:32:34+00:00","dateModified":"2024-01-15T02:20:17+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Spring Boot\u4e2d\uff0c\u5982\u679c\u4e0d\u6307\u5b9aspring-boot-starter-parent\u4f5c\u4e3a\u7236\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528Thymeleaf3"}]},{"@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\/cb5556d2501da73d864cac945e8d9461","name":"\u6e05, \u626c","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","caption":"\u6e05, \u626c"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8spring-boot%e4%b8%ad%ef%bc%8c%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%8c%87%e5%ae%9aspring-boot-starter-parent%e4%bd%9c%e4%b8%ba%e7%88%b6%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8t\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/39668","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\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=39668"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/39668\/revisions"}],"predecessor-version":[{"id":58571,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/39668\/revisions\/58571"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=39668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=39668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=39668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}