{"id":40092,"date":"2023-09-19T06:04:47","date_gmt":"2023-02-10T18:37:25","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/"},"modified":"2024-05-04T00:27:16","modified_gmt":"2024-05-03T16:27:16","slug":"%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/","title":{"rendered":"\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c"},"content":{"rendered":"<h1>\u603b\u7ed3<\/h1>\n<p>\u4eceSpringBoot1.3\u5f00\u59cb\uff0c\u53ef\u4ee5\u6784\u5efa\u4e3a\u53ef\u5b8c\u5168\u6267\u884c\u7684Jar\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Linux\u4e0a\u6ce8\u518c\u4e3a\u670d\u52a1\u3002<\/p>\n<p>\u4ee5\u524d\u6211\u4eec\u662f\u901a\u8fc7\u521b\u5efa\u542f\u52a8\u811a\u672c\u5e76\u5c06\u5176\u6ce8\u518c\u5230\u670d\u52a1\u4e2d\u6765\u5904\u7406\u8fd9\u4e9b\u4e8b\u60c5\uff0c\u4f46\u73b0\u5728\u4f3c\u4e4e\u53ef\u4ee5\u7b80\u5316\u8fd9\u4e9b\u6b65\u9aa4\u3002<\/p>\n<h1>\u8bbe\u5b9a\u7684\u6b65\u9aa4<\/h1>\n<h2>Gradle\u51c6\u5907\u4e2d<\/h2>\n<p>\u5728`build.gradle`\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"n\">springBoot<\/span> <span class=\"o\">{<\/span>\r\n  <span class=\"n\">executable<\/span> <span class=\"o\">=<\/span> <span class=\"kc\">true<\/span>\r\n<span class=\"o\">}<\/span>\r\n<\/code><\/pre>\n<h1>\u5efa\u7b51<\/h1>\n<p>\u901a\u8fc7\u5e38\u7528\u7684Gradle\u6784\u5efa\u5c31\u8db3\u591f\u4e86<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>gradle build\r\n<\/code><\/pre>\n<h1>\u8bbe\u5907\u6216\u7cfb\u7edf\u7684\u5b89\u88c5\u548c\u8bbe\u7f6e\u3002<\/h1>\n<p>\u60a8\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aconf\u6587\u4ef6\u6765\u8bbe\u7f6e\u4e0e\u4e2a\u4eba\u8d44\u6599\u548c\u6267\u884c\u73af\u5883\u76f8\u5173\u7684\u914d\u7f6e\u3002<br \/>\n\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cconf\u6587\u4ef6\u4f1a\u5728\u4e0ejar\u6587\u4ef6\u76f8\u540c\u7684\u4f4d\u7f6e\u67e5\u627e\u540d\u4e3a\u201c\u4e0ejar\u6587\u4ef6\u540c\u540d.conf\u201d\u7684\u6587\u4ef6\u3002<\/p>\n<blockquote><p>\u5b9e\u9645\u4e0a\uff0c\u5982\u679c\u5728vim\u6216\u7c7b\u4f3c\u8f6f\u4ef6\u4e2d\u67e5\u770b\u521b\u5efa\u7684jar\u6587\u4ef6\uff0c\u4f1a\u53d1\u73b0\u5728\u6587\u4ef6\u5f00\u5934\u81ea\u52a8\u751f\u6210\u4e86\u542f\u52a8\u811a\u672c\u3002\u901a\u8fc7\u67e5\u770b\u8fd9\u4e2a\u811a\u672c\u7684\u5185\u5bb9\uff0c\u6211\u4eec\u53ef\u4ee5\u4e86\u89e3\u5b83\u8c03\u7528\u4e86\u54ea\u4e2aconf\u6587\u4ef6\uff0c\u56e0\u6b64\u53ef\u4ee5\u8fdb\u884c\u4e00\u6b21\u9605\u8bfb\u3002<\/p><\/blockquote>\n<p>\u5047\u8bbe\u6211\u4eec\u5c06jar\u6587\u4ef6\u548c\u914d\u7f6e\u6587\u4ef6\u653e\u7f6e\u5728\u540d\u4e3adeploy\u7684\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">mkdir <\/span>deploy\r\n\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">cp<\/span> <span class=\"nt\">-p<\/span> \/xxxx\/build\/libs\/spring-boot.jar \/xxxx\/deploy\/spring-boot.jar\r\n<\/code><\/pre>\n<p>\u5728\u4e0ejar\u76f8\u540c\u7684\u4f4d\u7f6e\u4e0a\u653e\u7f6e\u4e00\u4e2a\u540d\u4e3a[jar\u7684\u540d\u79f0].conf\u7684\u6587\u4ef6\u3002<br \/>\n\u4f46\u662f\uff0c\u8bf7\u4e0d\u8981\u628aconf\u6587\u4ef6\u653e\u7f6e\u5728\u4e0ejar\u7684\u7b26\u53f7\u540d\u6216\u7b26\u53f7\u94fe\u63a5\u76f8\u540c\u7684\u4f4d\u7f6e\u3002<br \/>\n\u5c06\u5b9e\u9645\u7684jar\u6587\u4ef6\u548c\u4f4d\u7f6e\u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>vi spring-boot.conf\r\n\r\n.......\r\n\r\n<span class=\"nb\">export <\/span><span class=\"nv\">JAVA_HOME<\/span><span class=\"o\">=<\/span>\/usr\/local\/jdk1.8\r\n<span class=\"nb\">export <\/span><span class=\"nv\">JAVA_OPTS<\/span><span class=\"o\">=<\/span><span class=\"s2\">\"-Dspring.profiles.active=production\"<\/span>\r\n<span class=\"nb\">export <\/span><span class=\"nv\">LANG<\/span><span class=\"o\">=<\/span><span class=\"s2\">\"ja_JP.utf8\"<\/span>\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">JAVA_HOME-&gt; service\u8d77\u52d5\u3059\u308b\u969b\u306bJAVA_HOME\u304c\u898b\u3064\u304b\u308b\u3088\u3046\u306b\u6307\u5b9a\u3057\u3066\u304a\u304f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">JAVA_OPTS-&gt; \u3053\u3053\u306bprofile\u3084xmx\u306a\u3069\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">LANG-&gt;\u30e1\u30c3\u30bb\u30fc\u30b8\u30ea\u30bd\u30fc\u30b9\u3092LANG\u6307\u5b9a\u3067\u5207\u308a\u66ff\u3048\u3066\u3044\u308b\u5834\u5408\u3068\u304b\u3002service\u8d77\u52d5\u6642LANG\u306f\u5f15\u304d\u7d99\u304c\u308c\u306a\u3044\u306e\u3067\u3002<\/ul>\n<blockquote><p>\u6ce8\u610f\u4e8b\u9879<br \/>\n\u5982\u679c\u5c06\u914d\u7f6e\u6587\u4ef6\u8bbe\u7f6e\u4e3a\u73af\u5883\u53d8\u91cf\u800c\u4e0d\u662f\u5728JAVA_OPTS\u4e2d\uff0clogback\u5c06\u65e0\u6cd5\u6b63\u786e\u63a5\u6536\u3002<br \/>\n\u6700\u597d\u662f\u901a\u8fc7JAVA_OPTS\u4f20\u9012\u914d\u7f6e\u6587\u4ef6\u3002<\/p><\/blockquote>\n<p>\u8bf7\u9884\u5148\u8c03\u6574\u6587\u4ef6\u6743\u9650\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">chmod <\/span>u+x spring-boot.jar\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">chmod <\/span>o+r spring-boot.conf\r\n<\/code><\/pre>\n<blockquote><p>\u6ce8\u610f\u4e8b\u9879\uff1a<br \/>\n\u670d\u52a1\u7684\u542f\u52a8\u548c\u505c\u6b62\u9700\u8981\u4f7f\u7528root\u7528\u6237\u6267\u884c\u3002<br \/>\njar\u672c\u8eab\u4f1a\u4ee5\u8be5jar\u6587\u4ef6\u7684\u6240\u5c5e\u7528\u6237\u7684\u8eab\u4efd\u6267\u884c\u3002<br \/>\n\u914d\u7f6e\u6587\u4ef6\u9700\u8981\u8bbe\u7f6e\u4e3aroot\u7528\u6237\u53ef\u8bbf\u95ee\u3002<\/p><\/blockquote>\n<h1>\u7533\u8bf7\u6ce8\u518c\u670d\u52a1<\/h1>\n<p>\u53ea\u9700\u5728\/etc\/init.d\u521b\u5efa\u4e00\u4e2a\u7b26\u53f7\u94fe\u63a5\u5373\u53ef\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">sudo ln<\/span> <span class=\"nt\">-s<\/span> \/xxxx\/deploy\/spring-boot.jar \/etc\/init.d\/spring-boot\r\n<\/code><\/pre>\n<h1>\u542f\u52a8\u548c\u5173\u95ed<\/h1>\n<pre class=\"post-pre\"><code>\r\n<span class=\"c\"># \u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5<\/span>\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>service spring-boot start\r\n\r\n<span class=\"c\"># \u30b5\u30fc\u30d3\u30b9\u306e\u505c\u6b62<\/span>\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>service spring-boot stop\r\n\r\n<span class=\"c\"># \u30b5\u30fc\u30d3\u30b9\u306e\u81ea\u52d5\u8d77\u52d5ON<\/span>\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>chkconfig spring-boot on\r\n<\/code><\/pre>\n<h1>\u6267\u884c\u65e5\u5fd7\u7b49<\/h1>\n<p>\u6a19\u6e96\u8f38\u51fa\u9ed8\u8a8d\u8f38\u51fa\u81f3\/var\/log\/[\u670d\u52d9\u540d].log\u3002\u82e5\u8981\u5c07\u8f38\u51fa\u81f3\u5176\u4ed6\u8cc7\u6599\u593e\u6216\u6a94\u6848\uff0c\u9700\u5728\u914d\u7f6e\u6a94\u4e2d\u9032\u884c\u4ee5\u4e0b\u8a2d\u5b9a\u3002<\/p>\n<p>\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u901a\u8fc7SpringBoot\u8f93\u51fa\u7684logback\u65e5\u5fd7\u7b49\u4f1a\u88ab\u8f93\u51fa\u5230\u6307\u5b9a\u4f4d\u7f6e\u7684jar\u6587\u4ef6\u8d77\u59cb\u70b9\u3002<\/p>\n<pre class=\"post-pre\"><code>export LOG_FOLDER=\/xxxxxx\/deploy\r\n<\/code><\/pre>\n<h1>\u8bf7\u53c2\u8003\u4ee5\u4e0b\u7f51\u7ad9:<\/h1>\n<p>\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u62e9\u7684\u8bdd\uff0c\u8bf7\u5c06\u4ee5\u4e0b\u5185\u5bb9\u7528\u4e2d\u6587\u8fdb\u884c\u672c\u5730\u5316\uff1a<br \/>\n\u53c2\u80031<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u603b\u7ed3 \u4eceSpringBoot1.3\u5f00\u59cb\uff0c\u53ef\u4ee5\u6784\u5efa\u4e3a\u53ef\u5b8c\u5168\u6267\u884c\u7684Jar\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Linux\u4e0a\u6ce8\u518c\u4e3a\u670d\u52a1\u3002 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40092","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>\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c - 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\/\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528springboot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit-d\u670d\u52a1\u6765\u8fd0\u884c\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c\" \/>\n<meta property=\"og:description\" content=\"\u603b\u7ed3 \u4eceSpringBoot1.3\u5f00\u59cb\uff0c\u53ef\u4ee5\u6784\u5efa\u4e3a\u53ef\u5b8c\u5168\u6267\u884c\u7684Jar\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Linux\u4e0a\u6ce8\u518c\u4e3a\u670d\u52a1\u3002 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528springboot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit-d\u670d\u52a1\u6765\u8fd0\u884c\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-10T18:37:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T16:27:16+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u9896\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u9896\" \/>\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.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/\",\"name\":\"\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-02-10T18:37:25+00:00\",\"dateModified\":\"2024-05-03T16:27:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c\"}]},{\"@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\/8ca01ba7f7362ad4edb7da206a12f29e\",\"name\":\"\u79d1, \u9896\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u9896\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c - 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\/\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528springboot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit-d\u670d\u52a1\u6765\u8fd0\u884c\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c","og_description":"\u603b\u7ed3 \u4eceSpringBoot1.3\u5f00\u59cb\uff0c\u53ef\u4ee5\u6784\u5efa\u4e3a\u53ef\u5b8c\u5168\u6267\u884c\u7684Jar\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Linux\u4e0a\u6ce8\u518c\u4e3a\u670d\u52a1\u3002 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528springboot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit-d\u670d\u52a1\u6765\u8fd0\u884c\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-02-10T18:37:25+00:00","article_modified_time":"2024-05-03T16:27:16+00:00","author":"\u79d1, \u9896","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u9896","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/","name":"\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-02-10T18:37:25+00:00","dateModified":"2024-05-03T16:27:16+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6211\u5c1d\u8bd5\u5c06\u4f7f\u7528SpringBoot\u521b\u5efa\u7684jar\u6587\u4ef6\u4f5c\u4e3ainit.d\u670d\u52a1\u6765\u8fd0\u884c"}]},{"@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\/8ca01ba7f7362ad4edb7da206a12f29e","name":"\u79d1, \u9896","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","caption":"\u79d1, \u9896"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e5%b0%86%e4%bd%bf%e7%94%a8springboot%e5%88%9b%e5%bb%ba%e7%9a%84jar%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%bainit-d%e6%9c%8d%e5%8a%a1%e6%9d%a5%e8%bf%90%e8%a1%8c%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40092","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=40092"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40092\/revisions"}],"predecessor-version":[{"id":95011,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40092\/revisions\/95011"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}