{"id":37483,"date":"2025-05-16T09:33:09","date_gmt":"2025-05-16T01:33:09","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37483.html"},"modified":"2025-05-16T09:33:09","modified_gmt":"2025-05-16T01:33:09","slug":"spring-boot-%e6%97%a5%e5%bf%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37483.html","title":{"rendered":"Spring Boot \u65e5\u5fd7"},"content":{"rendered":"<h2>\u4e3a\u4ec0\u4e48\u5b66\u65e5\u5fd7&#xff1f;<\/h2>\n<p><span style=\"color:#1f2329\">\u901a\u8fc7\u524d\u2faf\u7684\u5b66\u4e60, \u6211\u4eec\u77e5\u9053\u2f47\u5fd7\u4e3b\u8981\u662f\u4e3a\u4e86\u53d1\u73b0\u95ee\u9898, \u5206\u6790\u95ee\u9898, \u5b9a\u4f4d\u95ee\u9898\u7684, \u4f46\u9664\u6b64\u4e4b\u5916, \u2f47\u5fd7\u8fd8\u6709\u5f88\u591a\u2f64\u9014<\/span><\/p>\n<p>1\u3001\u7cfb\u7edf\u76d1\u63a7<\/p>\n<p>2\u3001\u6570\u636e\u91c7\u96c6<\/p>\n<p>3\u3001\u65e5\u5fd7\u5ba1\u8ba1<\/p>\n<\/p>\n<h2 style=\"background-color:transparent\">\u65e5\u5fd7\u7684\u4f7f\u7528<\/h2>\n<h3 style=\"background-color:transparent\"><span style=\"color:#1f2329\">\u6253\u5370\u65e5\u5fd7\u7684\u6b65\u9aa4&#xff1a;<\/span><\/h3>\n<li><span style=\"color:#1f2329\">\u5728\u7a0b\u5e8f\u4e2d\u5f97\u5230\u2f47\u5fd7\u5bf9\u8c61. <\/span><\/li>\n<li><span style=\"color:#1f2329\">\u4f7f\u2f64\u2f47\u5fd7\u5bf9\u8c61\u8f93\u51fa\u8981\u6253\u5370\u7684\u5185\u5bb9<\/span><\/li>\n<h4 style=\"background-color:transparent\">1\u3001\u5f97\u5230\u65e5\u5fd7\u5bf9\u8c61<\/h4>\n<p><span style=\"color:#1f2329\">\u5728\u7a0b\u5e8f\u4e2d\u83b7\u53d6\u2f47\u5fd7\u5bf9\u8c61\u9700\u8981\u4f7f\u2f64\u2f47\u5fd7\u2f2f\u2f1a LoggerFactory&#xff0c;\u5982\u4e0b\u4ee3\u7801\u6240\u793a:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"70\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013306-682695d27f4fc.png\" width=\"682\" \/><\/p>\n<\/p>\n<h4 style=\"background-color:transparent\">2\u3001<span style=\"color:#1f2329\">\u4f7f\u7528\u65e5\u5fd7\u5bf9\u8c61\u8f93\u51fa\u8981\u6253\u5370\u7684\u5185\u5bb9<\/span><\/h4>\n<p><span style=\"color:#1f2329\">\u2f47\u5fd7\u5bf9\u8c61\u7684\u6253\u5370\u2f45\u6cd5\u6709\u5f88\u591a\u79cd&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5148\u4f7f\u2f64 info() \u2f45\u6cd5\u6765\u8f93\u51fa\u2f47\u5fd7&#xff0c;\u5982\u4e0b\u4ee3\u7801\u6240\u793a&#xff1a;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"376\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013306-682695d28b4ea.png\" width=\"725\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"121\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013306-682695d29d330.png\" width=\"1722\" \/><\/p>\n<\/p>\n<h4>3\u3001&#064;Slf4j\u6ce8\u89e3\u6253\u5370\u65e5\u5fd7<\/h4>\n<p>\u6211\u4eec\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u6ce8\u89e3\u5c31\u53ef\u4ee5\u4e86<\/p>\n<p>\u6211\u4eec\u4f7f\u7528\u7684\u6ce8\u89e3\u662f\u00a0 &#064;Slf4j<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"311\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013306-682695d2bce4b.png\" width=\"452\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"189\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013306-682695d2cd5e0.png\" width=\"1715\" \/><\/p>\n<\/p>\n<h3 style=\"background-color:transparent\"><span style=\"color:#1f2329\">\u95e8\u9762\u6a21\u5f0f(\u5916\u89c2\u6a21\u5f0f)<\/span><\/h3>\n<p><span style=\"color:#1f2329\">SLF4J\u662f\u95e8\u9762\u6a21\u5f0f\u7684\u5178\u578b\u5e94\u2f64(\u4f46\u4e0d\u4ec5\u4ec5\u4f7f\u2f64\u4e86\u95e8\u9762\u6a21\u5f0f)<\/span><\/p>\n<\/p>\n<h4><span style=\"color:#1f2329\">\u95e8\u9762\u6a21\u5f0f\u5b9a\u4e49&#xff1a;<\/span><\/h4>\n<p><span style=\"color:#1f2329\">\u95e8\u9762\u6a21\u5f0f&#xff08;Facade Pattern&#xff09;\u2f1c\u79f0\u4e3a\u5916\u89c2\u6a21\u5f0f, \u63d0\u4f9b\u4e86\u2f00\u4e2a\u7edf\u2f00\u7684\u63a5\u2f1d, \u2f64\u6765\u8bbf\u95ee\u2f26\u7cfb\u7edf\u4e2d\u7684\u2f00\u7fa4\u63a5\u2f1d. \u5176\u4e3b\u8981\u7279\u5f81\u662f\u5b9a\u4e49\u4e86\u2f00\u4e2a\u2fbc\u5c42\u63a5\u2f1d, \u8ba9\u2f26\u7cfb\u7edf\u66f4\u5bb9\u6613\u4f7f\u2f64\u3002<\/span><\/p>\n<p><span style=\"color:#1f2329\">\u95e8\u9762\u6a21\u5f0f\u4e3b\u8981\u5305\u542b2\u79cd\u89d2\u8272&#xff1a;<\/span><\/p>\n<li>\u5916\u89c2\u89d2\u8272<\/li>\n<li>\u5b50\u7cfb\u7edf\u89d2\u8272<\/li>\n<h4>\u95e8\u9762\u6a21\u5f0f\u7684\u4f18\u70b9&#xff1a;<\/h4>\n<li>\n<p><span style=\"color:#1f2329\">\u51cf\u5c11\u4e86\u7cfb\u7edf\u7684\u76f8\u4e92\u4f9d\u8d56. \u5b9e\u73b0\u4e86\u5ba2\u2f3e\u7aef\u4e0e\u2f26\u7cfb\u7edf\u7684\u8026\u5408\u5173\u7cfb, \u8fd9\u4f7f\u5f97\u2f26\u7cfb\u7edf\u7684\u53d8\u5316\u4e0d\u4f1a\u5f71\u54cd\u5230\u8c03\u2f64\u5b83<\/span><span style=\"color:#1f2329\">\u7684\u5ba2\u2f3e\u7aef&#xff1b; <\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#1f2329\">\u63d0\u2fbc\u4e86\u7075\u6d3b\u6027, \u7b80\u5316\u4e86\u5ba2\u2f3e\u7aef\u5bf9\u2f26\u7cfb\u7edf\u7684\u4f7f\u2f64\u96be\u5ea6, \u5ba2\u2f3e\u7aef\u2f46\u9700\u5173\u2f3c\u2f26\u7cfb\u7edf\u7684\u5177\u4f53\u5b9e\u73b0\u2f45\u5f0f, \u2f7d\u53ea\u9700<\/span><span style=\"color:#1f2329\">\u8981\u548c\u2ed4\u2faf\u5bf9\u8c61\u4ea4\u4e92\u5373\u53ef. <\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#1f2329\">\u63d0\u2fbc\u4e86\u5b89\u5168\u6027. \u53ef\u4ee5\u7075\u6d3b\u8bbe\u5b9a\u8bbf\u95ee\u6743\u9650, \u4e0d\u5728\u2ed4\u2faf\u5bf9\u8c61\u4e2d\u5f00\u901a\u2f45\u6cd5, \u5c31\u2f46\u6cd5\u8bbf\u95ee<\/span><\/p>\n<\/li>\n<h2><span style=\"color:#1f2329\">SLF4J \u6846\u67b6\u4ecb\u7ecd<\/span><\/h2>\n<h4>\u65e5\u5fd7\u683c\u5f0f\u8bf4\u660e<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"187\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d30308b.png\" width=\"1737\" \/><\/p>\n<p>\u4e0b\u9762\u662f\u4e0a\u8ff0\u4ee3\u7801\u7684\u4ecb\u7ecd&#xff1a;<\/p>\n<li><span style=\"color:#1f2329\">\u65f6\u95f4\u2f47\u671f&#xff1a;\u7cbe\u786e\u5230\u6beb\u79d2 <\/span><\/li>\n<li><span style=\"color:#1f2329\">\u2f47\u5fd7\u7ea7\u522b&#xff1a;ERROR, WARN, INFO, DEBUG \u6216TRACE <\/span><\/li>\n<li><span style=\"color:#1f2329\">\u8fdb\u7a0bID <\/span><\/li>\n<li><span style=\"color:#1f2329\">\u7ebf\u7a0b\u540d <\/span><\/li>\n<li><span style=\"color:#1f2329\">Logger\u540d(\u901a\u5e38\u4f7f\u2f64\u6e90\u4ee3\u7801\u7684\u7c7b\u540d) <\/span><\/li>\n<li><span style=\"color:#1f2329\">\u2f47\u5fd7\u5185\u5bb9<\/span><\/li>\n<h4>\u65e5\u5fd7\u7ea7\u522b\u5206\u7c7b<\/h4>\n<li>\n<p><span style=\"color:#1f2329\">FATAL: \u81f4\u547d\u4fe1\u606f&#xff0c;\u8868\u2f70\u9700\u8981\u2f74\u5373\u88ab\u5904\u7406\u7684\u7cfb\u7edf\u7ea7\u9519\u8bef. <\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#1f2329\">ERROR: \u9519\u8bef\u4fe1\u606f, \u7ea7\u522b\u8f83\u2fbc\u7684\u9519\u8bef\u2f47\u5fd7\u4fe1\u606f, \u4f46\u4ecd\u7136\u4e0d\u5f71\u54cd\u7cfb\u7edf\u7684\u7ee7\u7eed\u8fd0\u2f8f. <\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#1f2329\">WARN: \u8b66\u544a\u4fe1\u606f, \u4e0d\u5f71\u54cd\u4f7f\u2f64, \u4f46\u9700\u8981\u6ce8\u610f\u7684\u95ee\u9898 <\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#1f2329\">INFO: \u666e\u901a\u4fe1\u606f, \u2f64\u4e8e\u8bb0\u5f55\u5e94\u2f64\u7a0b\u5e8f\u6b63\u5e38\u8fd0\u2f8f\u65f6\u7684\u2f00\u4e9b\u4fe1\u606f, \u4f8b\u5982\u7cfb\u7edf\u542f\u52a8\u5b8c\u6210\u3001\u8bf7\u6c42\u5904\u7406\u5b8c\u6210\u7b49. <\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#1f2329\">DEBUG: \u8c03\u8bd5\u4fe1\u606f, \u9700\u8981\u8c03\u8bd5\u65f6\u5019\u7684\u5173\u952e\u4fe1\u606f\u6253\u5370. <\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#1f2329\">TRACE: \u8ffd\u8e2a\u4fe1\u606f, \u2f50DEBUG\u66f4\u7ec6\u7c92\u5ea6\u7684\u4fe1\u606f\u4e8b\u4ef6(\u9664\u2fae\u6709\u7279\u6b8a\u2f64\u610f&#xff0c;\u5426\u5219\u8bf7\u4f7f\u2f64DEBUG\u7ea7\u522b\u66ff\u4ee3) <\/span><\/p>\n<\/li>\n<h4><\/h4>\n<h4>\u65e5\u5fd7\u7ea7\u522b\u7684\u4f7f\u7528<\/h4>\n<p><span style=\"color:#1f2329\">\u9488\u5bf9\u8fd9\u4e9b\u7ea7\u522b, Logger \u5bf9\u8c61\u5206\u522b\u63d0\u4f9b\u4e86\u5bf9\u5e94\u7684\u2f45\u6cd5, \u6765\u8f93\u51fa\u2f47\u5fd7&#xff1a;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"231\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d32ae2b.png\" width=\"656\" \/><\/p>\n<p>\u6211\u4eec\u6253\u5370\u51fa\u6765\u4e4b\u540e&#xff0c;\u53d1\u73b0\u53ea\u6709info&#xff0c;warn&#xff0c;error\u4e09\u79cd\u65e5\u5fd7\u7ea7\u522b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"231\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d3399f8.png\" width=\"1771\" \/><\/p>\n<p><span style=\"color:#1f2329\">\u8fd9\u4e0e\u2f47\u5fd7\u7ea7\u522b\u7684\u914d\u7f6e\u6709\u5173, \u2f47\u5fd7\u7684\u8f93\u51fa\u7ea7\u522b\u9ed8\u8ba4\u662f info\u7ea7\u522b, \u6240\u4ee5\u53ea\u4f1a\u6253\u5370\u2f24\u4e8e\u7b49\u4e8e\u6b64\u7ea7\u522b\u7684\u2f47\u5fd7, \u4e5f\u5c31\u662finfo, warn\u548cerror.<\/span><\/p>\n<\/p>\n<h2 style=\"background-color:transparent\">\u65e5\u5fd7\u914d\u7f6e<\/h2>\n<h4 style=\"background-color:transparent\">\u914d\u7f6e\u65e5\u5fd7\u7ea7\u522b<\/h4>\n<p><span style=\"color:#1f2329\">\u65e5\u5fd7\u7ea7\u522b\u914d\u7f6e\u53ea\u9700\u8981\u5728\u914d\u7f6e\u2f42\u4ef6\u4e2d\u8bbe\u7f6e&#034;logging.level&#034;\u914d\u7f6e\u9879\u5373\u53ef&#xff0c;\u5982\u4e0b\u6240\u793a&#xff1a;<\/span><\/p>\n<p><span style=\"color:#1f2329\">\u2b50\u8fd9\u91cc\u6211\u4eec\u4f7f\u7528\u7684\u914d\u7f6e\u6587\u4ef6\u662fyml<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"125\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d368cb2.png\" width=\"201\" \/><\/p>\n<p>\u6211\u4eec\u8fdb\u884c\u8fd0\u884c\u67e5\u770b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"136\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d370e82.png\" width=\"1525\" \/><\/p>\n<p>\u8fd9\u6b21\u6211\u4eec\u660e\u663e\u53ef\u4ee5\u770b\u51fa\u6765&#xff0c;\u8bbe\u7f6edebug\u4e4b\u540e&#xff0c;\u51fa\u6765\u7684\u7ea7\u522b&gt;&#061;debug\u4e86<\/p>\n<\/p>\n<h3 style=\"background-color:transparent\">\u65e5\u5fd7\u6301\u4e45\u5316<\/h3>\n<p><span style=\"color:#1f2329\">\u4ee5\u4e0a\u7684\u2f47\u5fd7\u90fd\u662f\u8f93\u51fa\u5728\u63a7\u5236\u53f0\u4e0a\u7684, \u7136\u800c\u5728\u7ebf\u4e0a\u73af\u5883\u4e2d, \u6211\u4eec\u9700\u8981\u628a\u2f47\u5fd7\u4fdd\u5b58\u4e0b\u6765, \u4ee5\u4fbf\u51fa\u73b0\u95ee\u9898\u4e4b\u540e\u8ffd\u6eaf\u95ee\u9898. \u628a\u2f47\u5fd7\u4fdd\u5b58\u4e0b\u6765\u5c31\u53eb\u6301\u4e45\u5316.<\/span><\/p>\n<p>\u65e5\u5fd7\u6301\u4e45\u5316\u6709\u4e24\u79cd\u65b9\u5f0f<\/p>\n<li><span style=\"color:#1f2329\">\u914d\u7f6e\u2f47\u5fd7\u2f42\u4ef6\u540d <\/span><\/li>\n<li><span style=\"color:#1f2329\">\u914d\u7f6e\u2f47\u5fd7\u7684\u5b58\u50a8\u2f6c\u5f55<\/span><\/li>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"108\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d38788d.png\" width=\"350\" \/><\/p>\n<\/p>\n<h4 style=\"background-color:transparent\"><span style=\"color:#1f2329\">\u914d\u7f6e\u65e5\u5fd7\u6587\u4ef6\u540d<\/span><\/h4>\n<p>yml\u914d\u7f6e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"130\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d392fb8.png\" width=\"330\" \/><\/p>\n<p>\u518d\u6b21\u8fd0\u884c\u7a0b\u5e8f\u5c31\u4f1a\u51fa\u73b0&#xff0c;\u91cc\u9762\u5c31\u81ea\u52a8\u4fdd\u5b58\u6211\u4eec\u521a\u521a\u6253\u5370\u7684\u65e5\u5fd7\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"390\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d39f69a.png\" width=\"1874\" \/><\/p>\n<\/p>\n<h4>\u914d\u7f6e\u65e5\u5fd7\u6587\u4ef6\u7684\u4fdd\u5b58\u8def\u5f84<\/h4>\n<p>yml\u914d\u7f6e\u4e0b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"108\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d3e7c8c.png\" width=\"256\" \/><\/p>\n<p>\u518d\u6b21\u8fd0\u884c\u7a0b\u5e8f\u5c31\u4f1a\u51fa\u73b0&#xff0c;\u91cc\u9762\u5c31\u81ea\u52a8\u4fdd\u5b58\u6211\u4eec\u521a\u521a\u6253\u5370\u7684\u65e5\u5fd7\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"453\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013307-682695d3f0e79.png\" width=\"1856\" \/><\/p>\n<\/p>\n<h4>\u2b50\u6ce8\u610f<\/h4>\n<p>loggin:file:name\u00a0 \u8bbe\u7f6e\u7684\u662f\u8def\u5f84&#043;\u540d\u79f0<\/p>\n<p>loggin:file:path\u00a0 \u00a0 \u8bbe\u7f6e\u7684\u662f\u540d\u79f0<\/p>\n<p>\u5f53name\u548cpath\u540c\u65f6\u4f7f\u7528\u7684\u65f6\u5019&#xff0c;name\u7684\u4f18\u5148\u7ea7\u9ad8\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"315\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013308-682695d450954.png\" width=\"968\" \/><\/p>\n<\/p>\n<h3>\u914d\u7f6e\u65e5\u5fd7\u6587\u4ef6\u5206\u5272<\/h3>\n<p><span style=\"color:#1f2329\">\u5982\u679c\u6211\u4eec\u7684\u2f47\u5fd7\u90fd\u653e\u5728\u2f00\u4e2a\u2f42\u4ef6\u4e2d, \u968f\u7740\u9879\u2f6c\u7684\u8fd0\u2f8f, \u2f47\u5fd7\u2f42\u4ef6\u4f1a\u8d8a\u6765\u8d8a\u2f24, \u9700\u8981\u5bf9\u2f47\u5fd7\u2f42\u4ef6\u8fdb\u2f8f\u5206\u5272.<\/span><\/p>\n<p>yml\u914d\u7f6e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"305\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013308-682695d46acfd.png\" width=\"628\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb574\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u65e5\u5fd7\u7684\u91cd\u8981\u77e5\u8bc6<\/p>\n","protected":false},"author":2,"featured_media":37466,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,98,292],"topic":[],"class_list":["post-37483","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-spring-boot","tag-292"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Spring Boot \u65e5\u5fd7 - \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\/37483.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring Boot \u65e5\u5fd7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb574\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u65e5\u5fd7\u7684\u91cd\u8981\u77e5\u8bc6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37483.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-16T01:33:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013306-682695d27f4fc.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\/37483.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37483.html\",\"name\":\"Spring Boot \u65e5\u5fd7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-16T01:33:09+00:00\",\"dateModified\":\"2025-05-16T01:33:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37483.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37483.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37483.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spring Boot \u65e5\u5fd7\"}]},{\"@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":"Spring Boot \u65e5\u5fd7 - \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\/37483.html","og_locale":"zh_CN","og_type":"article","og_title":"Spring Boot \u65e5\u5fd7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb574\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u65e5\u5fd7\u7684\u91cd\u8981\u77e5\u8bc6","og_url":"https:\/\/www.wsisp.com\/helps\/37483.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-16T01:33:09+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250516013306-682695d27f4fc.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\/37483.html","url":"https:\/\/www.wsisp.com\/helps\/37483.html","name":"Spring Boot \u65e5\u5fd7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-16T01:33:09+00:00","dateModified":"2025-05-16T01:33:09+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37483.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37483.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37483.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Spring Boot \u65e5\u5fd7"}]},{"@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\/37483","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=37483"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37483\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/37466"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37483"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}