{"id":116914,"date":"2026-10-22T08:48:36","date_gmt":"2026-10-22T00:48:36","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/116914.html"},"modified":"2026-10-22T08:48:36","modified_gmt":"2026-10-22T00:48:36","slug":"springboot%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e4%bb%8e%e5%85%a5%e9%97%a8%e5%88%b0%e7%b2%be%e9%80%9a","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/116914.html","title":{"rendered":"SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a"},"content":{"rendered":"<p>                    <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261022004835-6ad95d637219b.png\" alt=\"\u5c01\u9762\" \/><\/p>\n<h3>\u5f15\u8a00  <\/h3>\n<p>&#034;\u4e3a\u4ec0\u4e48\u6211\u7684 SpringBoot \u5e94\u7528\u5728 Kubernetes \u4e0a\u9891\u7e41 OOM&#xff1f;\u660e\u660e\u672c\u5730\u6d4b\u8bd5\u65f6\u4e00\u5207\u6b63\u5e38&#xff01;&#034;\u2014\u2014\u8fd9\u662f\u53bb\u5e74\u6211\u4eec\u5728\u5c06\u4e00\u4e2a\u65e5\u5747\u767e\u4e07\u8ba2\u5355\u7684\u7535\u5546\u7cfb\u7edf\u8fc1\u79fb\u5230 K8s \u65f6\u9047\u5230\u7684\u771f\u5b9e\u95ee\u9898\u3002\u4eca\u5929\u8981\u804a\u7684\u4e0d\u662f\u57fa\u7840\u7684 &#064;SpringBootApplication \u6ce8\u89e3&#xff0c;\u800c\u662f\u85cf\u5728\u81ea\u52a8\u914d\u7f6e\u80cc\u540e\u7684 JVM \u5185\u5b58\u6a21\u578b\u9677\u9631&#xff0c;\u4e00\u4e2a\u8fde\u5f88\u591a\u8001\u624b\u90fd\u4f1a\u8e29\u7684\u6df1\u5751\u3002<\/p>\n<h3>\u73b0\u8c61&#xff1a;\u8be1\u5f02\u7684 OOM \u4e0e\u65e5\u5fd7\u65ad\u5c42  <\/h3>\n<p>\u7cfb\u7edf\u4e0a\u7ebf\u540e&#xff0c;Pod \u6bcf\u9694 4-5 \u5c0f\u65f6\u5c31\u4f1a\u91cd\u542f&#xff0c;kubectl logs \u53ea\u770b\u5230\u4e00\u884c Killed&#xff0c;\u8fde OOM \u65e5\u5fd7\u90fd\u6ca1\u7559\u4e0b\u3002\u901a\u8fc7 kubectl describe pod \u53d1\u73b0\u662f\u88ab K8s \u7684 OOMKiller \u5e72\u6389\u7684\u3002\u5947\u602a\u7684\u662f&#xff1a;<\/p>\n<ul>\n<li>\u672c\u5730 -Xmx2g \u914d\u7f6e\u4e0b\u5185\u5b58\u7a33\u5b9a\u5728 1.2GB<\/li>\n<li>\u5bb9\u5668\u5185 -Xmx2g \u5374\u5b9e\u9645\u5403\u4e86 2.5GB RSS<\/li>\n<\/ul>\n<h3>\u6839\u56e0&#xff1a;JVM \u5185\u5b58 \u2260 \u5bb9\u5668\u5185\u5b58  <\/h3>\n<p>\u5173\u952e\u70b9\u5728\u4e8e&#xff1a;JVM \u9ed8\u8ba4\u4e0d\u4f1a\u611f\u77e5 cgroup \u9650\u5236\u3002\u5f53\u4f60\u4e0d\u663e\u5f0f\u8bbe\u7f6e -XX:&#043;UseContainerSupport&#xff08;Java 8u191&#043; \u624d\u652f\u6301&#xff09;&#xff0c;JVM \u4ecd\u4f1a\u6309\u7167\u5bbf\u4e3b\u673a\u7684\u5185\u5b58\u8ba1\u7b97\u5806\u5916\u5185\u5b58&#xff08;Metaspace\u3001\u7ebf\u7a0b\u6808\u3001DirectBuffer \u7b49&#xff09;\u3002<\/p>\n<p>\u6bd4\u5982\u5728 16GB \u7684\u8282\u70b9\u4e0a&#xff1a;<\/p>\n<p>\/\/ \u9519\u8bef\u914d\u7f6e&#xff08;\u5ffd\u7565\u5bb9\u5668\u9650\u5236&#xff09;<br \/>\njava -jar app.jar -Xmx2g -Xms2g<br \/>\n\/\/ \u6b63\u786e\u914d\u7f6e&#xff08;Java 8u191&#043;&#xff09;<br \/>\njava -jar app.jar -Xmx2g -Xms2g -XX:&#043;UseContainerSupport -XX:MaxRAMPercentage&#061;75.0<\/p>\n<p>\u5b9e\u6d4b\u5bf9\u6bd4&#xff08;Docker \u9650\u5236 4GB&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u914d\u7f6e\u65b9\u5f0fRSS \u5185\u5b58\u5b58\u6d3b\u65f6\u95f4<\/tr>\n<tbody>\n<tr>\n<td>\u9ed8\u8ba4\u53c2\u6570<\/td>\n<td>3.8GB<\/td>\n<td>4h23m<\/td>\n<\/tr>\n<tr>\n<td>&#043;UseContainerSupport<\/td>\n<td>2.9GB<\/td>\n<td>\u7a33\u5b9a\u8fd0\u884c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u6df1\u6316&#xff1a;\u90a3\u4e9b\u5403\u5185\u5b58\u7684&#034;\u9690\u85cf\u6740\u624b&#034;  <\/h3>\n<p>\u9664\u4e86\u5806\u5185\u5b58&#xff0c;\u8fd8\u6709\u4e09\u4e2a\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u5185\u5b58\u6d88\u8017\u70b9&#xff1a;<\/p>\n<li>Metaspace \u6cc4\u6f0f<\/li>\n<p>\/\/ \u5178\u578b\u573a\u666f&#xff1a;\u9891\u7e41\u52a8\u6001\u52a0\u8f7d\u7c7b&#xff08;\u5982 Groovy \u811a\u672c\u5f15\u64ce&#xff09;<br \/>\nwhile (true) {<br \/>\n  GroovyClassLoader loader &#061; new GroovyClassLoader();<br \/>\n  loader.parseClass(groovyScript); \/\/ \u6bcf\u6b21\u90fd\u4f1a\u81a8\u80c0 Metaspace<br \/>\n}<\/p>\n<ul>\n<li>\u6700\u4f73\u5b9e\u8df5&#xff1a;\u590d\u7528 ClassLoader \u6216\u8bbe\u7f6e -XX:MaxMetaspaceSize&#061;256m<\/li>\n<\/ul>\n<li><\/li>\n<p>Netty \u7684 Direct Memory<\/p>\n<p>Spring WebFlux \u9ed8\u8ba4\u4f7f\u7528 Netty&#xff0c;\u5176\u76f4\u63a5\u5185\u5b58\u4e0d\u53d7 -Xmx \u9650\u5236\u3002\u66fe\u6709\u4e2a\u6848\u4f8b&#xff1a;\u4e00\u4e2a\u4e0a\u4f20\u63a5\u53e3\u56e0\u672a\u91ca\u653e ByteBuf \u5bfc\u81f4\u76f4\u63a5\u5185\u5b58\u6ea2\u51fa\u3002<\/p>\n<li><\/li>\n<p>Tomcat \u7ebf\u7a0b\u6c60<\/p>\n<p>SpringBoot \u9ed8\u8ba4\u7684 Tomcat \u6700\u5927\u7ebf\u7a0b\u6570 200&#xff0c;\u6bcf\u4e2a\u7ebf\u7a0b\u6808\u5360\u7528 1MB&#xff08;\u901a\u8fc7 -Xss \u8bbe\u7f6e&#xff09;\u3002200 \u4e2a\u7ebf\u7a0b \u2248 200MB \u989d\u5916\u5f00\u9500\u3002<\/p>\n<h3>\u907f\u5751\u6e05\u5355&#xff1a;\u5185\u5b58\u7ba1\u7406\u7684\u9ec4\u91d1\u6cd5\u5219  <\/h3>\n<li><\/li>\n<p>\u6c38\u8fdc\u663e\u5f0f\u8bbe\u7f6e MaxRAMPercentage<\/p>\n<p>\u6bd4 -Xmx \u66f4\u9760\u8c31&#xff0c;\u5efa\u8bae\u503c\u4e3a 70-80%&#xff08;\u9884\u7559\u7a7a\u95f4\u7ed9\u5806\u5916\u5185\u5b58&#xff09;<\/p>\n<li><\/li>\n<p>\u76d1\u63a7\u771f\u5b9e\u5185\u5b58\u7528\u91cf<\/p>\n<p>\u4e0d\u8981\u53ea\u770b jstat -gc&#xff0c;\u8981\u7528 kubectl top pod \u6216 docker stats \u770b RSS<\/p>\n<li><\/li>\n<p>\u538b\u6d4b\u65f6\u6a21\u62df\u5bb9\u5668\u73af\u5883<\/p>\n<p>\u672c\u5730\u6d4b\u8bd5\u52a0\u4e0a &#8211;memory&#061;4g \u7684 Docker \u53c2\u6570<\/p>\n<li><\/li>\n<p>\u5347\u7ea7\u5230 LTS \u7248\u672c<\/p>\n<p>Java 11&#043; \u7684\u5bb9\u5668\u652f\u6301\u66f4\u5b8c\u5584&#xff0c;\u63a8\u8350 -XX:&#043;UseContainerSupport -XX:MaxRAMPercentage&#061;75.0 \u7ec4\u5408<\/p>\n<h3>\u7ec8\u6781\u89e3\u6cd5&#xff1a;\u4e00\u4e2a\u751f\u4ea7\u7ea7\u542f\u52a8\u811a\u672c  <\/h3>\n<p># !\/bin\/bash<br \/>\n# \u57fa\u4e8e Java 11 \u7684\u63a8\u8350\u914d\u7f6e<br \/>\nexport JAVA_OPTS&#061;&#034;-XX:&#043;UseContainerSupport \\\\<br \/>\n&#8211; XX:MaxRAMPercentage&#061;75.0 \\\\<br \/>\n&#8211; XX:&#043;HeapDumpOnOutOfMemoryError \\\\<br \/>\n&#8211; XX:NativeMemoryTracking&#061;summary \\\\<br \/>\n&#8211; XX:&#043;UnlockDiagnosticVMOptions&#034;<br \/>\nexec java $JAVA_OPTS -jar \/app.jar<\/p>\n<h3>\u7ed3\u8bed  <\/h3>\n<p>SpringBoot \u7684&#034;\u5f00\u7bb1\u5373\u7528&#034;\u662f\u628a\u53cc\u5203\u5251\u2014\u2014\u5b83\u8ba9\u4f60\u5feb\u901f\u542f\u52a8\u9879\u76ee&#xff0c;\u5374\u4e5f\u63a9\u76d6\u4e86\u5e95\u5c42\u7684\u5185\u5b58\u535a\u5f08\u3002\u8bb0\u4f4f&#xff1a;<\/p>\n<p>\u5728\u5bb9\u5668\u5316\u65f6\u4ee3&#xff0c;\u5185\u5b58\u914d\u7f6e\u5fc5\u987b\u4ece&#034;\u7269\u7406\u673a\u601d\u7ef4&#034;\u8f6c\u5411&#034;cgroup \u601d\u7ef4&#034;\u3002\u4f60\u5728 K8s \u90e8\u7f72\u4e2d\u8fd8\u9047\u5230\u8fc7\u54ea\u4e9b\u9690\u853d\u7684 JVM \u5751&#xff1f;\u6b22\u8fce\u5206\u4eab\u4f60\u7684\u8840\u6cea\u53f2\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f15\u8a00<br \/>\n\\&#8221;\u4e3a\u4ec0\u4e48\u6211\u7684 SpringBoot \u5e94\u7528\u5728 Kubernetes \u4e0a\u9891\u7e41 OOM&#xff1f;\u660e\u660e\u672c\u5730\u6d4b\u8bd5\u65f6\u4e00\u5207\u6b63\u5e38&#xff01;\\&#8221;\u2014\u2014\u8fd9\u662f\u53bb\u5e74\u6211\u4eec\u5728\u5c06\u4e00\u4e2a\u65e5\u5747\u767e\u4e07\u8ba2\u5355\u7684\u7535\u5546\u7cfb\u7edf\u8fc1\u79fb\u5230 K8s \u65f6\u9047\u5230\u7684\u771f\u5b9e\u95ee\u9898\u3002\u4eca\u5929\u8981\u804a\u7684\u4e0d\u662f\u57fa\u7840\u7684 SpringBootApplication \u6ce8\u89e3&#xff0c;\u800c\u662f\u85cf\u5728\u81ea\u52a8\u914d\u7f6e\u80cc\u540e\u7684 JVM \u5185\u5b58\u6a21\u578b\u9677\u9631&#xff0c;\u4e00\u4e2a\u8fde\u5f88\u591a\u8001\u624b\u90fd\u4f1a\u8e29\u7684\u6df1\u5751\u3002<br \/>\n\u73b0\u8c61&#xff1a;\u8be1\u5f02\u7684 OOM \u4e0e\u65e5\u5fd7\u65ad\u5c42<br \/>\n\u7cfb\u7edf\u4e0a\u7ebf\u540e&#xff0c;<\/p>\n","protected":false},"author":2,"featured_media":116913,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7301,13232,9260,128,132],"topic":[],"class_list":["post-116914","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-7301","tag-13232","tag-9260","tag-api","tag-132"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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.wsisp.com\/helps\/116914.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5f15\u8a00  &quot;\u4e3a\u4ec0\u4e48\u6211\u7684 SpringBoot \u5e94\u7528\u5728 Kubernetes \u4e0a\u9891\u7e41 OOM&#xff1f;\u660e\u660e\u672c\u5730\u6d4b\u8bd5\u65f6\u4e00\u5207\u6b63\u5e38&#xff01;&quot;\u2014\u2014\u8fd9\u662f\u53bb\u5e74\u6211\u4eec\u5728\u5c06\u4e00\u4e2a\u65e5\u5747\u767e\u4e07\u8ba2\u5355\u7684\u7535\u5546\u7cfb\u7edf\u8fc1\u79fb\u5230 K8s \u65f6\u9047\u5230\u7684\u771f\u5b9e\u95ee\u9898\u3002\u4eca\u5929\u8981\u804a\u7684\u4e0d\u662f\u57fa\u7840\u7684 SpringBootApplication \u6ce8\u89e3&#xff0c;\u800c\u662f\u85cf\u5728\u81ea\u52a8\u914d\u7f6e\u80cc\u540e\u7684 JVM \u5185\u5b58\u6a21\u578b\u9677\u9631&#xff0c;\u4e00\u4e2a\u8fde\u5f88\u591a\u8001\u624b\u90fd\u4f1a\u8e29\u7684\u6df1\u5751\u3002 \u73b0\u8c61&#xff1a;\u8be1\u5f02\u7684 OOM \u4e0e\u65e5\u5fd7\u65ad\u5c42  \u7cfb\u7edf\u4e0a\u7ebf\u540e&#xff0c;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/116914.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-22T00:48:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261022004835-6ad95d637219b.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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.wsisp.com\/helps\/116914.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/116914.html\",\"name\":\"SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-22T00:48:36+00:00\",\"dateModified\":\"2026-10-22T00:48:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/116914.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/116914.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/116914.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/116914.html","og_locale":"zh_CN","og_type":"article","og_title":"SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5f15\u8a00  \"\u4e3a\u4ec0\u4e48\u6211\u7684 SpringBoot \u5e94\u7528\u5728 Kubernetes \u4e0a\u9891\u7e41 OOM&#xff1f;\u660e\u660e\u672c\u5730\u6d4b\u8bd5\u65f6\u4e00\u5207\u6b63\u5e38&#xff01;\"\u2014\u2014\u8fd9\u662f\u53bb\u5e74\u6211\u4eec\u5728\u5c06\u4e00\u4e2a\u65e5\u5747\u767e\u4e07\u8ba2\u5355\u7684\u7535\u5546\u7cfb\u7edf\u8fc1\u79fb\u5230 K8s \u65f6\u9047\u5230\u7684\u771f\u5b9e\u95ee\u9898\u3002\u4eca\u5929\u8981\u804a\u7684\u4e0d\u662f\u57fa\u7840\u7684 SpringBootApplication \u6ce8\u89e3&#xff0c;\u800c\u662f\u85cf\u5728\u81ea\u52a8\u914d\u7f6e\u80cc\u540e\u7684 JVM \u5185\u5b58\u6a21\u578b\u9677\u9631&#xff0c;\u4e00\u4e2a\u8fde\u5f88\u591a\u8001\u624b\u90fd\u4f1a\u8e29\u7684\u6df1\u5751\u3002 \u73b0\u8c61&#xff1a;\u8be1\u5f02\u7684 OOM \u4e0e\u65e5\u5fd7\u65ad\u5c42  \u7cfb\u7edf\u4e0a\u7ebf\u540e&#xff0c;","og_url":"https:\/\/www.wsisp.com\/helps\/116914.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-22T00:48:36+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261022004835-6ad95d637219b.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/116914.html","url":"https:\/\/www.wsisp.com\/helps\/116914.html","name":"SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-22T00:48:36+00:00","dateModified":"2026-10-22T00:48:36+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/116914.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/116914.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/116914.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"SpringBoot\u5f00\u53d1\u5b9e\u6218:\u4ece\u5165\u95e8\u5230\u7cbe\u901a"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/116914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=116914"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/116914\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/116913"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=116914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=116914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=116914"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=116914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}