{"id":4876,"date":"2024-08-01T22:48:58","date_gmt":"2024-08-01T14:48:58","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=4876"},"modified":"2024-08-01T22:48:58","modified_gmt":"2024-08-01T14:48:58","slug":"springboot-%e5%8a%a8%e6%80%81%e5%8a%a0%e8%bd%bd-jar-%e5%8c%85%ef%bc%8c%e7%8e%a9%e8%bd%ac%e5%8a%a8%e6%80%81%e9%85%8d%e7%bd%ae%ef%bc%81","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/mysql\/springboot-%e5%8a%a8%e6%80%81%e5%8a%a0%e8%bd%bd-jar-%e5%8c%85%ef%bc%8c%e7%8e%a9%e8%bd%ac%e5%8a%a8%e6%80%81%e9%85%8d%e7%bd%ae%ef%bc%81\/","title":{"rendered":"SpringBoot \u52a8\u6001\u52a0\u8f7d Jar \u5305\uff0c\u73a9\u8f6c\u52a8\u6001\u914d\u7f6e\uff01"},"content":{"rendered":"<div class='wxsyncmain'>\n<section style=\"margin-left: 8px;margin-right: 8px;\" data-mpa-powered-by=\"yiban.io\"><span style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 14px;caret-color: var(--weui-BRAND);letter-spacing: 0.034em;visibility: visible;\">\u6233\u4e0a\u65b9\u84dd\u5b57\u201c<\/span><span style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 14px;caret-color: var(--weui-BRAND);letter-spacing: 0.034em;font-weight: bold;color: rgb(47, 118, 195);visibility: visible;\">Java\u77e5\u97f3<\/span><span style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 14px;caret-color: var(--weui-BRAND);letter-spacing: 0.034em;visibility: visible;\">\u201d\u5173\u6ce8\u6211<\/span><\/section>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"font-size: 16px;padding-right: 10px;padding-left: 10px;word-break: break-word;text-align: left;line-height: 1.25;color: rgb(43, 43, 43);letter-spacing: 2px;background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.04) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 0, 0, 0.04) 3%, rgba(0, 0, 0, 0) 3%);background-size: 20px 20px;background-position: center center;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Spring Boot\u5e94\u7528\u7a0b\u5e8f\u4e2d\u52a8\u6001\u52a0\u8f7dJar\u5305\u3002\u6211\u4eec\u5c06\u63a2\u8ba8\u52a8\u6001\u52a0\u8f7dJar\u5305\u7684\u57fa\u672c\u6982\u5ff5\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528Spring Boot\u7684\u7c7b\u52a0\u8f7d\u5668\u548c\u7b2c\u4e09\u65b9\u5e93\u6765\u5b9e\u73b0Jar\u5305\u7684\u52a8\u6001\u52a0\u8f7d\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u6b64\u5916\uff0c\u6211\u4eec\u5c06\u901a\u8fc7\u5177\u4f53\u7684\u793a\u4f8b\u6765\u5c55\u793a\u5982\u4f55\u5728Spring Boot\u5e94\u7528\u7a0b\u5e8f\u4e2d\u914d\u7f6e\u548c\u4f7f\u7528Jar\u5305\u7684\u52a8\u6001\u52a0\u8f7d\uff0c\u4ee5\u63d0\u9ad8\u7cfb\u7edf\u7684\u7075\u6d3b\u6027\u548c\u53ef\u6269\u5c55\u6027\u3002<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-size: 0.9em;overflow: auto;padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;text-size-adjust: 100%;line-height: 1.55em;border-radius: 6px;color: rgb(89, 89, 89);box-sizing: inherit;border-width: 1px;border-top-style: solid;border-right-style: solid;border-bottom-style: solid;border-color: rgba(64, 184, 250, 0.4);background: rgba(64, 184, 250, 0.1);\"><p><span style=\"color: RGBA(64, 184, 250, .5);font-size: 34px;line-height: 1;font-weight: 700;\">\u275d<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;font-size: 14px;word-spacing: 2px;line-height: 26px;\">\u672c\u6587\u9002\u5408\u5e0c\u671b\u4f7f\u7528\u52a8\u6001\u52a0\u8f7dJar\u5305\u6765\u589e\u5f3aSpring Boot\u5e94\u7528\u7a0b\u5e8f\u529f\u80fd\u7684\u5f00\u53d1\u8005\u9605\u8bfb\u3002<\/p>\n<p><span style=\"float: right;color: RGBA(64, 184, 250, .5);\">\u275e<\/span><\/p><\/blockquote>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: black;font-size: 22px;border-bottom: 4px solid rgb(64, 184, 250);\"><span style=\"display: flex;width: 20px;height: 20px;background-size: 20px 20px;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214321906.png');margin-bottom: -22px;\"><\/span><span style=\"display: flex;color: #40B8FA;font-size: 20px;margin-left: 25px;\">\u4e00\u3001\u5f15\u8a00<\/span><span style=\"display: flex;width: 200px;height: 10px;border-top-left-radius: 20px;background: rgba(64, 184, 250, 0.5);color: rgb(255, 255, 255);font-size: 16px;letter-spacing: 0.544px;justify-content: flex-end;float: right;margin-top: -10px;\"><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u5728\u73b0\u4ee3Web\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u52a8\u6001\u52a0\u8f7d\u7ec4\u4ef6\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u6280\u672f\uff0c\u7528\u4e8e\u5b9e\u73b0\u6a21\u5757\u5316\u548c\u52a8\u6001\u6269\u5c55\u529f\u80fd\u3002Jar\u5305\u662fJava\u5e94\u7528\u7a0b\u5e8f\u7684\u57fa\u672c\u6784\u5efa\u5355\u5143\uff0c\u52a8\u6001\u52a0\u8f7dJar\u5305\u53ef\u4ee5\u63d0\u9ad8\u7cfb\u7edf\u7684\u7075\u6d3b\u6027\u548c\u53ef\u6269\u5c55\u6027\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">Spring Boot\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u4fbf\u7684\u65b9\u5f0f\u6765\u96c6\u6210\u52a8\u6001\u52a0\u8f7dJar\u5305\uff0c\u901a\u8fc7\u96c6\u6210\u7c7b\u52a0\u8f7d\u5668\u548c\u7b2c\u4e09\u65b9\u5e93\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Spring Boot\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b9e\u73b0\u52a8\u6001\u52a0\u8f7dJar\u5305\uff0c\u5e76\u63a2\u8ba8\u5982\u4f55\u4f7f\u7528Spring Boot\u548c\u7b2c\u4e09\u65b9\u5e93\u6765\u5b9e\u73b0\u8fd9\u4e00\u673a\u5236\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: black;font-size: 22px;border-bottom: 4px solid rgb(64, 184, 250);\"><span style=\"display: flex;width: 20px;height: 20px;background-size: 20px 20px;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214321906.png');margin-bottom: -22px;\"><\/span><span style=\"display: flex;color: #40B8FA;font-size: 20px;margin-left: 25px;\">\u4e8c\u3001\u52a8\u6001\u52a0\u8f7dJar\u5305\u7684\u57fa\u672c\u6982\u5ff5<\/span><span style=\"display: flex;width: 200px;height: 10px;border-top-left-radius: 20px;background: rgba(64, 184, 250, 0.5);color: rgb(255, 255, 255);font-size: 16px;letter-spacing: 0.544px;justify-content: flex-end;float: right;margin-top: -10px;\"><\/span><\/h2>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: black;font-size: 17px;font-weight: bold;text-align: center;margin-top: 20px;margin-bottom: 20px;\"><span style=\"display: none;\"><\/span><span style=\"border-bottom: 2px solid RGBA(79, 177, 249, .65);color: #2b2b2b;padding-bottom: 2px;\"><span style=\"width: 30px;height: 30px;display: block;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214321906.png');background-position: center center;background-size: 30px;margin: auto auto -8px;opacity: 1;background-repeat: no-repeat;\"><\/span>1. \u4ec0\u4e48\u662f\u52a8\u6001\u52a0\u8f7dJar\u5305\uff1f<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u52a8\u6001\u52a0\u8f7dJar\u5305\u662f\u6307\u5728\u5e94\u7528\u7a0b\u5e8f\u8fd0\u884c\u65f6\uff0c\u52a8\u6001\u5730\u52a0\u8f7d\u548c\u5378\u8f7dJar\u5305\u4e2d\u7684\u7c7b\u548c\u8d44\u6e90\u3002\u8fd9\u79cd\u673a\u5236\u53ef\u4ee5\u63d0\u9ad8\u7cfb\u7edf\u7684\u7075\u6d3b\u6027\u548c\u53ef\u6269\u5c55\u6027\uff0c\u5141\u8bb8\u5728\u4e0d\u91cd\u542f\u5e94\u7528\u7a0b\u5e8f\u7684\u60c5\u51b5\u4e0b\uff0c\u6dfb\u52a0\u3001\u66f4\u65b0\u6216\u5220\u9664\u7ec4\u4ef6\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: black;font-size: 17px;font-weight: bold;text-align: center;margin-top: 20px;margin-bottom: 20px;\"><span style=\"display: none;\"><\/span><span style=\"border-bottom: 2px solid RGBA(79, 177, 249, .65);color: #2b2b2b;padding-bottom: 2px;\"><span style=\"width: 30px;height: 30px;display: block;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214321906.png');background-position: center center;background-size: 30px;margin: auto auto -8px;opacity: 1;background-repeat: no-repeat;\"><\/span>2. \u52a8\u6001\u52a0\u8f7dJar\u5305\u7684\u4f5c\u7528<\/span><span style=\"display: none;\"><\/span><\/h3>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;font-size: 15px;color: #595959;list-style-type: circle;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;font-size: 14px;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: rgb(43, 43, 43);margin-top: 10px;margin-bottom: 10px;word-spacing: 2px;\"><span style=\"color: rgb(53, 148, 247);font-weight: bold;\">\u63d0\u9ad8\u7cfb\u7edf\u7075\u6d3b\u6027\uff1a<\/span> \u52a8\u6001\u52a0\u8f7dJar\u5305\u53ef\u4ee5\u5b9e\u73b0\u6a21\u5757\u5316\u5f00\u53d1\uff0c\u5c06\u4e0d\u540c\u7684\u529f\u80fd\u7ec4\u4ef6\u5206\u79bb\u5230\u4e0d\u540c\u7684Jar\u5305\u4e2d\uff0c\u4fbf\u4e8e\u7ba1\u7406\u548c\u6269\u5c55\u3002<\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;font-size: 14px;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: rgb(43, 43, 43);margin-top: 10px;margin-bottom: 10px;word-spacing: 2px;\"><span style=\"color: rgb(53, 148, 247);font-weight: bold;\">\u5b9e\u73b0\u70ed\u63d2\u62d4\uff1a<\/span> \u52a8\u6001\u52a0\u8f7dJar\u5305\u53ef\u4ee5\u5b9e\u73b0\u70ed\u63d2\u62d4\u529f\u80fd\uff0c\u5141\u8bb8\u5728\u5e94\u7528\u7a0b\u5e8f\u8fd0\u884c\u65f6\u6dfb\u52a0\u3001\u66f4\u65b0\u6216\u5220\u9664\u7ec4\u4ef6\uff0c\u65e0\u9700\u91cd\u542f\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;font-size: 14px;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: rgb(43, 43, 43);margin-top: 10px;margin-bottom: 10px;word-spacing: 2px;\"><span style=\"color: rgb(53, 148, 247);font-weight: bold;\">\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff1a<\/span> \u52a8\u6001\u52a0\u8f7dJar\u5305\u53ef\u4ee5\u7b80\u5316\u5f00\u53d1\u8fc7\u7a0b\uff0c\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u5728\u4e0d\u91cd\u542f\u5e94\u7528\u7a0b\u5e8f\u7684\u60c5\u51b5\u4e0b\uff0c\u5feb\u901f\u8fed\u4ee3\u548c\u6d4b\u8bd5\u65b0\u7684\u529f\u80fd\u7ec4\u4ef6\u3002<\/p>\n<\/section>\n<\/li>\n<\/ul>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: black;font-size: 22px;border-bottom: 4px solid rgb(64, 184, 250);\"><span style=\"display: flex;width: 20px;height: 20px;background-size: 20px 20px;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214321906.png');margin-bottom: -22px;\"><\/span><span style=\"display: flex;color: #40B8FA;font-size: 20px;margin-left: 25px;\">\u4e09\u3001\u5728Spring Boot\u4e2d\u5b9e\u73b0\u52a8\u6001\u52a0\u8f7dJar\u5305<\/span><span style=\"display: flex;width: 200px;height: 10px;border-top-left-radius: 20px;background: rgba(64, 184, 250, 0.5);color: rgb(255, 255, 255);font-size: 16px;letter-spacing: 0.544px;justify-content: flex-end;float: right;margin-top: -10px;\"><\/span><\/h2>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: black;font-size: 17px;font-weight: bold;text-align: center;margin-top: 20px;margin-bottom: 20px;\"><span style=\"display: none;\"><\/span><span style=\"border-bottom: 2px solid RGBA(79, 177, 249, .65);color: #2b2b2b;padding-bottom: 2px;\"><span style=\"width: 30px;height: 30px;display: block;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214321906.png');background-position: center center;background-size: 30px;margin: auto auto -8px;opacity: 1;background-repeat: no-repeat;\"><\/span>1. \u4f7f\u7528Spring Boot\u7684\u7c7b\u52a0\u8f7d\u5668<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">Spring Boot\u63d0\u4f9b\u4e86\u4e00\u4e2a\u540d\u4e3a<code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">SpringBootClassLoader<\/code>\u7684\u7c7b\u52a0\u8f7d\u5668\uff0c\u7528\u4e8e\u52a0\u8f7dSpring Boot\u5e94\u7528\u7a0b\u5e8f\u7684\u7c7b\u548c\u8d44\u6e90\u3002<code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">SpringBootClassLoader<\/code>\u7ee7\u627f\u81eaURLClassLoader\uff0c\u5e76\u63d0\u4f9b\u4e86\u5bf9Jar\u5305\u7684\u52a8\u6001\u52a0\u8f7d\u652f\u6301\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: black;font-size: 17px;font-weight: bold;text-align: center;margin-top: 20px;margin-bottom: 20px;\"><span style=\"display: none;\"><\/span><span style=\"border-bottom: 2px solid RGBA(79, 177, 249, .65);color: #2b2b2b;padding-bottom: 2px;\"><span style=\"width: 30px;height: 30px;display: block;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214321906.png');background-position: center center;background-size: 30px;margin: auto auto -8px;opacity: 1;background-repeat: no-repeat;\"><\/span>2. \u521b\u5efa\u52a8\u6001\u52a0\u8f7d\u7684Jar\u5305<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u6240\u9700\u7c7b\u7684Jar\u5305\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u521b\u5efaJar\u5305\u7684\u793a\u4f8b\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214330699.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;letter-spacing: 0px;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #c678dd;line-height: 26px;\">import<\/span>org.osgi.resource.locator.Resource;<span style=\"color: #c678dd;line-height: 26px;\">import<\/span>org.osgi.resource.locator.ResourceContent;<span style=\"color: #c678dd;line-height: 26px;\">import<\/span>org.osgi.resource.locator.ResourceException;<span style=\"color: #c678dd;line-height: 26px;\">import<\/span>org.osgi.resource.locator.ResourceLocator;<span style=\"color: #c678dd;line-height: 26px;\">public<\/span><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">class<\/span><span style=\"color: #e6c07b;line-height: 26px;\">DynamicLoading<\/span><\/span>{<span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span><span style=\"color: #c678dd;line-height: 26px;\">static<\/span><span style=\"color: #c678dd;line-height: 26px;\">void<\/span><span style=\"color: #61aeee;line-height: 26px;\">main<\/span><span style=\"line-height: 26px;\">(String[]args)<\/span><span style=\"color: #c678dd;line-height: 26px;\">throws<\/span>Exception<\/span>{ResourceLocatorresourceLocator=<span style=\"color: #c678dd;line-height: 26px;\">new<\/span>ResourceLocator(){<span style=\"color: #61aeee;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span>ResourceContent<span style=\"color: #61aeee;line-height: 26px;\">getResourceContent<\/span><span style=\"line-height: 26px;\">(Resourceresource)<\/span><span style=\"color: #c678dd;line-height: 26px;\">throws<\/span>ResourceException<\/span>{<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/\u5b9e\u73b0\u83b7\u53d6Jar\u5305\u5185\u5bb9\u7684\u903b\u8f91<\/span><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/\u4f8b\u5982\uff0c\u4f7f\u7528JavaNIO\u6765\u8bfb\u53d6Jar\u5305\u4e2d\u7684\u5185\u5bb9<\/span><span style=\"color: #c678dd;line-height: 26px;\">return<\/span><span style=\"color: #c678dd;line-height: 26px;\">new<\/span>ResourceContent(){<span style=\"color: #61aeee;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span>InputStream<span style=\"color: #61aeee;line-height: 26px;\">getInputStream<\/span><span style=\"line-height: 26px;\">()<\/span><span style=\"color: #c678dd;line-height: 26px;\">throws<\/span>IOException<\/span>{<span style=\"color: #c678dd;line-height: 26px;\">return<\/span><span style=\"color: #c678dd;line-height: 26px;\">new<\/span>FileInputStream(<span style=\"color: #98c379;line-height: 26px;\">\"example.jar\"<\/span>);}<span style=\"color: #61aeee;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span>String<span style=\"color: #61aeee;line-height: 26px;\">getURI<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>{<span style=\"color: #c678dd;line-height: 26px;\">return<\/span><span style=\"color: #98c379;line-height: 26px;\">\"jar:file:\/path\/to\/example.jar!\/\"<\/span>;}};}};<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/\u52a0\u8f7dJar\u5305<\/span>Resourceresource=resourceLocator.locate(<span style=\"color: #98c379;line-height: 26px;\">\"org.osgi.resource.locator\"<\/span>,<span style=\"color: #98c379;line-height: 26px;\">\"()\"<\/span>);<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(resource!=<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>){Class&lt;?&gt;clazz=resource.loadClass(<span style=\"color: #98c379;line-height: 26px;\">\"com.example.demo.MainClass\"<\/span>);clazz.newInstance();}}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a<code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">DynamicLoading<\/code>\u7684\u7c7b\uff0c\u5b83\u5305\u542b\u4e00\u4e2a\u540d\u4e3amain\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5b9e\u73b0\u4e86\u4e00\u4e2a<code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">ResourceLocator<\/code>\u63a5\u53e3\u7684\u5b9e\u4f8b\uff0c\u7528\u4e8e\u83b7\u53d6Jar\u5305\u7684\u5185\u5bb9\u3002\u7136\u540e\uff0c\u6211\u4eec\u4f7f\u7528locate\u65b9\u6cd5\u6765\u5b9a\u4f4dJar\u5305\uff0c\u5e76\u4f7f\u7528<code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">loadClass<\/code>\u65b9\u6cd5\u6765\u52a0\u8f7dJar\u5305\u4e2d\u7684\u7c7b\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: black;font-size: 22px;border-bottom: 4px solid rgb(64, 184, 250);\"><span style=\"display: flex;width: 20px;height: 20px;background-size: 20px 20px;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214321906.png');margin-bottom: -22px;\"><\/span><span style=\"display: flex;color: #40B8FA;font-size: 20px;margin-left: 25px;\">\u4e94\u3001\u603b\u7ed3<\/span><span style=\"display: flex;width: 200px;height: 10px;border-top-left-radius: 20px;background: rgba(64, 184, 250, 0.5);color: rgb(255, 255, 255);font-size: 16px;letter-spacing: 0.544px;justify-content: flex-end;float: right;margin-top: -10px;\"><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728Spring Boot\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b9e\u73b0\u52a8\u6001\u52a0\u8f7dJar\u5305\u3002\u6211\u4eec\u9996\u5148\u4e86\u89e3\u4e86\u52a8\u6001\u52a0\u8f7dJar\u5305\u7684\u57fa\u672c\u6982\u5ff5\u548c\u4f5c\u7528\uff0c\u7136\u540e\u5b66\u4e60\u4e86\u5982\u4f55\u4f7f\u7528Spring Boot\u7684\u7c7b\u52a0\u8f7d\u5668\u548c\u7b2c\u4e09\u65b9\u5e93\u6765\u5b9e\u73b0Jar\u5305\u7684\u52a8\u6001\u52a0\u8f7d\u3002\u6211\u4eec\u8fd8\u901a\u8fc7\u5177\u4f53\u7684\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u5728Spring Boot\u5e94\u7528\u7a0b\u5e8f\u4e2d\u914d\u7f6e\u548c\u4f7f\u7528Jar\u5305\u7684\u52a8\u6001\u52a0\u8f7d\uff0c\u4ee5\u63d0\u9ad8\u7cfb\u7edf\u7684\u7075\u6d3b\u6027\u548c\u53ef\u6269\u5c55\u6027\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u901a\u8fc7\u672c\u6587\uff0c\u60a8\u5e94\u8be5\u5df2\u7ecf\u638c\u63e1\u4e86\u5982\u4f55\u4f7f\u7528\u52a8\u6001\u52a0\u8f7dJar\u5305\u6765\u589e\u5f3aSpring Boot\u5e94\u7528\u7a0b\u5e8f\u7684\u529f\u80fd\u3002\u60a8\u5b66\u4f1a\u4e86\u5982\u4f55\u4f7f\u7528Spring Boot\u7684\u7c7b\u52a0\u8f7d\u5668\u3001\u521b\u5efa\u52a8\u6001\u52a0\u8f7d\u7684Jar\u5305\u548c\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u5b9e\u73b0\u52a8\u6001\u52a0\u8f7d\u7b49\u64cd\u4f5c\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u5e0c\u671b\u672c\u6587\u80fd\u591f\u5e2e\u52a9\u60a8\u5728\u5f00\u53d1\u548c\u90e8\u7f72Spring Boot\u5e94\u7528\u7a0b\u5e8f\u65f6\u66f4\u52a0\u5f97\u5fc3\u5e94\u624b\u3002\u5982\u679c\u60a8\u6709\u4efb\u4f55\u7591\u95ee\u6216\u5efa\u8bae\uff0c\u8bf7\u968f\u65f6\u7559\u8a00\u4ea4\u6d41\u3002<\/p>\n<\/section>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"padding-right: 10px;padding-left: 10px;outline: 0px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;text-align: left;word-break: break-all;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;visibility: visible;\">\n<blockquote class=\"js_blockquote_wrap\" data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"49\" data-source-title=\"\" style=\"outline: 0px;color: var(--weui-FG-1);\">\n<section class=\"js_blockquote_digest\" style=\"outline: 0px;\">\n<section style=\"outline: 0px;\"><span style=\"outline: 0px;color: rgb(0, 0, 0);font-size: 13px;\">\u6765\u6e90\uff1a<span style=\"outline: 0px;color: rgb(53, 53, 53);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;\">blog.csdn.net\/oandy0\/<\/span><\/span><\/section>\n<section style=\"outline: 0px;\"><span style=\"outline: 0px;color: rgb(0, 0, 0);font-size: 13px;\"><span style=\"outline: 0px;color: rgb(53, 53, 53);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;\">article\/details\/136333204<\/span><\/span><\/section>\n<\/section>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;color: rgb(102, 102, 102);text-align: center;\"><strong style=\"outline: 0px;color: rgb(255, 0, 0);font-size: 20px;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, Arial, sans-serif;letter-spacing: 0.544px;widows: 1;caret-color: rgb(60, 60, 60);display: inline !important;\">\u540e\u7aef\u4e13\u5c5e\u6280\u672f\u7fa4<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;color: rgb(102, 102, 102);text-align: center;\"><span style=\"outline: 0px;color: rgb(0, 0, 0);widows: 1;caret-color: rgb(60, 60, 60);\">\u6784\u5efa\u9ad8\u8d28\u91cf\u7684\u6280\u672f\u4ea4\u6d41\u793e\u7fa4\uff0c\u6b22\u8fce\u4ece\u4e8b\u7f16\u7a0b\u5f00\u53d1\u3001\u6280\u672f\u62db\u8058HR\u8fdb\u7fa4\uff0c\u4e5f\u6b22\u8fce\u5927\u5bb6\u5206\u4eab\u81ea\u5df1\u516c\u53f8\u7684\u5185\u63a8\u4fe1\u606f\uff0c\u76f8\u4e92\u5e2e\u52a9\uff0c\u4e00\u8d77\u8fdb\u6b65\uff01<\/span><\/p>\n<\/section>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 20px;margin-bottom: 20px;padding: 10px 10px 10px 1em;outline: 0px;border-left-width: 2px;border-left-color: rgb(136, 136, 136);color: rgb(119, 119, 119);font-size: 0.9em;text-wrap: wrap;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: normal;text-align: left;caret-color: rgb(60, 60, 60);widows: 1;border-top: none;border-bottom: none;overflow: auto;background: rgba(0, 0, 0, 0.05);border-right: 2px solid rgb(136, 136, 136);visibility: visible;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;font-size: 16px;text-align: justify;color: black;line-height: 26px;visibility: visible;\">\u6587\u660e\u53d1\u8a00\uff0c\u4ee5<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);visibility: visible;\">\u4ea4\u6d41\u6280\u672f<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);visibility: visible;\">\u804c\u4f4d\u5185\u63a8<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);visibility: visible;\">\u884c\u4e1a\u63a2\u8ba8<\/code>\u4e3a\u4e3b<\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;text-wrap: wrap;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 16px;letter-spacing: normal;caret-color: rgb(60, 60, 60);text-align: center;widows: 1;background-color: rgb(255, 255, 255);line-height: 26px;visibility: visible;\">\u5e7f\u544a\u4eba\u58eb\u52ff\u5165\uff0c\u5207\u52ff\u8f7b\u4fe1\u79c1\u804a\uff0c\u9632\u6b62\u88ab\u9a97<\/p>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg lazyload\" data-imgfileid=\"100071556\" data-ratio=\"1.005390835579515\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"371\" style=\"outline: 0px;width: 163px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214326690.webp\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg\" data-imgfileid=\"100071556\" data-ratio=\"1.005390835579515\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"371\" style=\"outline: 0px;width: 163px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214326690.webp\"><\/noscript><\/section>\n<p style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);text-align: center;\"><span style=\"outline: 0px;color: rgb(136, 136, 136);font-size: 14px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: normal;widows: 1;caret-color: rgb(60, 60, 60);\">\u52a0\u6211\u597d<\/span><span style=\"outline: 0px;color: rgb(136, 136, 136);font-size: 14px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: normal;widows: 1;caret-color: rgb(60, 60, 60);\">\u53cb\uff0c\u62c9\u4f60\u8fdb\u7fa4<\/span><\/p>\n<p style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-wrap: wrap;background-color: rgb(255, 255, 255);text-align: left;\"><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif lazyload\" data-galleryid=\"\" data-imgfileid=\"100071555\" data-ratio=\"0.3125\"  data-type=\"gif\" data-w=\"640\" style=\"outline: 0px;width: 229px !important;visibility: visible !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214327337.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img __bg_gif\" data-galleryid=\"\" data-imgfileid=\"100071555\" data-ratio=\"0.3125\"  data-type=\"gif\" data-w=\"640\" style=\"outline: 0px;width: 229px !important;visibility: visible !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214327337.gif\"  \/><\/noscript><\/p>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 Java\u77e5\u97f3              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u6233\u4e0a\u65b9\u84dd\u5b57\u201cJava\u77e5\u97f3\u201d\u5173\u6ce8\u6211 \u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Spring Boot\u5e94\u7528\u7a0b\u5e8f\u4e2d\u52a8\u6001\u52a0\u8f7dJar\u5305\u3002\u6211\u4eec\u5c06\u63a2\u8ba8\u52a8\u6001\u52a0\u8f7dJar\u5305 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":4870,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[3,7],"tags":[],"class_list":["post-4876","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql","category-spring-boot"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214323318-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214326690.webp","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214323318-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214323318.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214326690.webp","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214323318-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214323318.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214323318.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214326690.webp","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214326690.webp","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214327337.gif","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801214327337.gif","id":"image3"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"MySQL","post_date":"2024-08-01","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":799,"next_post_id":4833,"next_post_title":"\u8d85\u5f3a\u7684SpringBoot\u5e94\u7528\u542f\u52a8\u6027\u80fd\u5206\u6790\u5de5\u5177\uff1aSpring-Startup-Analyzer\uff01","previous_post_id":5089,"previous_post_title":"\u9762\u8bd5\u5b98\uff1aSpring Bean \u7684\u751f\u547d\u5468\u671f\u90fd\u4e0d\u4f1a\uff0c\u4f60\u8d70\u5427\u4e0b\u4e00\u4f4d","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/4876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=4876"}],"version-history":[{"count":1,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/4876\/revisions"}],"predecessor-version":[{"id":6342,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/4876\/revisions\/6342"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/4870"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=4876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=4876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=4876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}