{"id":1019,"date":"2024-07-16T14:43:20","date_gmt":"2024-07-16T06:43:20","guid":{"rendered":"https:\/\/blog.yiming1234.cn\/?p=1019"},"modified":"2024-07-16T14:43:21","modified_gmt":"2024-07-16T06:43:21","slug":"idea%e5%ae%9e%e7%8e%b0springboot%e9%a1%b9%e7%9b%ae%e7%9a%84%e8%87%aa%e6%89%93%e5%8c%85%e8%87%aa%e5%8f%91%e5%b8%83%e8%87%aa%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/blog.yiming1234.cn\/index.php\/2024\/idea%e5%ae%9e%e7%8e%b0springboot%e9%a1%b9%e7%9b%ae%e7%9a%84%e8%87%aa%e6%89%93%e5%8c%85%e8%87%aa%e5%8f%91%e5%b8%83%e8%87%aa%e9%83%a8%e7%bd%b2\/","title":{"rendered":"IDEA\u5b9e\u73b0SpringBoot\u9879\u76ee\u7684\u81ea\u6253\u5305\u81ea\u53d1\u5e03\u81ea\u90e8\u7f72"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u524d\u8a00<\/h2>\n\n\n\n<p>\u6700\u8fd1\u5728\u7814\u7a76\u9879\u76ee\u7684\u6253\u5305\u53d1\u5e03\u4ee5\u53ca\u5176\u5728\u751f\u4ea7\u73af\u5883\u4e0b\u7684\u90e8\u7f72<\/p>\n\n\n\n<p>\u8c08\u8c08SpringBoot\u540e\u7aef\u9879\u76ee\u7684\u81ea\u52a8\u6253\u5305\uff0c\u4ee5\u53ca\u53d1\u5e03\u5230Github Releases\u548c\u90e8\u7f72\u5230\u670d\u52a1\u5668<\/p>\n\n\n\n<p>\u8fd8\u662f\u4ee5\u4e4b\u524d\u7684\u8fd9\u4e2a\u6821\u56ed\u5899\u4ed3\u5e93\u4e3a\u4f8b<\/p>\n\n\n\n<p>Github\u4ed3\u5e93\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/Pleasurecruise\/NottinghamWall\">https:\/\/github.com\/Pleasurecruise\/NottinghamWall<\/a><\/p>\n\n\n\n<p>\u670d\u52a1\u5668\u7aef\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/Pleasurecruise\/NottinghamWall\/tree\/main\/backend\">https:\/\/github.com\/Pleasurecruise\/NottinghamWall\/tree\/main\/backend<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-4-1024x695.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"695\" data-original=\"https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-4-1024x695.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1026\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u6b63\u6587<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u64cd\u4f5c\u80cc\u666f<\/h3>\n\n\n\n<p>\u9879\u76ee\u4ed3\u5e93\u6bcf\u6b21\u8fdb\u884c\u66f4\u6539\u66f4\u65b0\u7684\u65f6\u5019\u90fd\u9700\u8981\u91cd\u65b0\u8fdb\u884c\u6253\u5305\u53d1\u5e03\u975e\u5e38\u7684\u9ebb\u70e6\uff0c\u6240\u4ee5\u53ef\u4ee5\u7528Github Action\u6765\u66ff\u4ee3\u8fd9\u4e00\u91cd\u590d\u7684\u64cd\u4f5c\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\u64cd\u4f5c\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u8f6f\u4ef6\u8d28\u91cf\u3002<\/p>\n\n\n\n<p>GitHub CLI\uff08Command-Line Interface\uff09\u662f GitHub \u63d0\u4f9b\u7684\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u65e8\u5728\u4f7f\u7528\u6237\u80fd\u591f\u4ece\u7ec8\u7aef\u6216\u547d\u4ee4\u884c\u754c\u9762\u76f4\u63a5\u4e0e GitHub \u4ea4\u4e92\u3002\u901a\u8fc7 GitHub CLI\uff0c\u7528\u6237\u53ef\u4ee5\u6267\u884c\u8bb8\u591a\u5728 GitHub \u7f51\u7ad9\u4e0a\u6267\u884c\u7684\u64cd\u4f5c<\/p>\n\n\n\n<p><strong>Continuous Integration (CI)<\/strong>\uff1a\u6301\u7eed\u96c6\u6210\u3002\u5f00\u53d1\u4eba\u5458\u9891\u7e41\u5730\u5c06\u4ee3\u7801\u53d8\u66f4\u5408\u5e76\u5230\u4e3b\u5206\u652f\u4e2d\uff0c\u6bcf\u6b21\u5408\u5e76\u90fd\u4f1a\u89e6\u53d1\u81ea\u52a8\u5316\u6784\u5efa\u548c\u6d4b\u8bd5\u8fc7\u7a0b\u3002\u8fd9\u79cd\u65b9\u6cd5\u80fd\u591f\u5feb\u901f\u53d1\u73b0\u548c\u4fee\u590d\u95ee\u9898\uff0c\u786e\u4fdd\u4ee3\u7801\u5e93\u59cb\u7ec8\u5904\u4e8e\u4e00\u4e2a\u53ef\u5de5\u4f5c\u72b6\u6001\u3002<\/p>\n\n\n\n<p><strong>Continuous Deployment (CD)<\/strong>\uff1a\u6301\u7eed\u90e8\u7f72\u3002\u6bcf\u6b21\u901a\u8fc7\u81ea\u52a8\u5316\u6d4b\u8bd5\u7684\u4ee3\u7801\u53d8\u66f4\u90fd\u4f1a\u81ea\u52a8\u90e8\u7f72\u5230\u751f\u4ea7\u73af\u5883\u4e2d\u3002\u8fd9\u610f\u5473\u7740\u4ee3\u7801\u4e00\u65e6\u88ab\u63d0\u4ea4\u5e76\u901a\u8fc7\u6d4b\u8bd5\uff0c\u5c31\u4f1a\u7acb\u5373\u88ab\u53d1\u5e03\u7ed9\u7528\u6237\u3002\u6301\u7eed\u90e8\u7f72\u8981\u6c42\u975e\u5e38\u9ad8\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u8986\u76d6\u7387\u548c\u4e25\u683c\u7684\u8d28\u91cf\u63a7\u5236\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u81ea\u53d1\u5e03<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-5-1024x700.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"700\" data-original=\"https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-5-1024x700.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1028\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div><\/figure>\n\n\n\n<p>\u4ece\u4e0a\u56fe\u53ef\u4ee5\u770b\u5230\u5728\u7b2c\u4e00\u884c\u7684\u6700\u53f3\u8fb9\u5c31\u662f\u7ed9\u51fa\u7684Github Action\u7684\u4e00\u4e2a\u793a\u4f8b\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u7684\u914d\u7f6e\u6587\u4ef6\u5c31\u662f\u57fa\u4e8e\u8fd9\u4e2aconfig\u8fdb\u884c\u4e86\u9002\u5f53\u7684\u66f4\u6539<\/p>\n\n\n\n<p>\u5f53\u7136\u4e5f\u53ef\u4ee5\u81ea\u5df1\u65b0\u5efa\u4e00\u4e2a\u5de5\u4f5c\u6d41\u6587\u4ef6\u7136\u540e\u590d\u5236\u7c98\u8d34\u4e0b\u9762\u7684\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>name: SpringBoot Built and Release\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'backend\/**'\njobs:\n  build:\n    permissions: write-all\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions\/checkout@v3\n    - name: Setup Java JDK\n      uses: actions\/setup-java@v4.2.1\n      with:\n        java-version: '17'\n        distribution: 'temurin'\n        cache: maven\n    - name: maven-settings-xml-action\n      uses: whelk-io\/maven-settings-xml-action@v20\n      with:\n        repositories: ''\n        servers: ''\n    - name: Build with Maven\n      run: mvn package -B -DskipTests --file backend\/pom.xml\n    - name: GH Release\n      uses: softprops\/action-gh-release@v2.0.6\n      with:\n        files: backend\/wall-server\/target\/wall-server-*.jar\n        tag_name: NottinghamWall-backend-v1.0<\/code><\/pre>\n\n\n\n<p>\u4e0a\u9762\u7684\u914d\u7f6e\u6587\u4ef6\u5b9e\u73b0\u7684\u4e3b\u8981\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<p>\u5728backend\u6587\u4ef6\u5939\u4e0b\u6709\u65b0\u7684push\u6587\u4ef6\u7684\u65f6\u5019\u89e6\u53d1\u64cd\u4f5c<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u914d\u7f6e\u8fdc\u7a0b\u7684maven\u73af\u5883<\/li>\n\n\n\n<li>\u5c06\u9879\u76ee\u8fdb\u884c\u6253\u5305<\/li>\n\n\n\n<li>\u53d1\u5e03\u5230Github Release<\/li>\n<\/ul>\n\n\n\n<p>\u5b9e\u73b0\u6548\u679c\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-6-1024x698.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"698\" data-original=\"https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-6-1024x698.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1029\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u81ea\u90e8\u7f72<\/h3>\n\n\n\n<p>\u53c2\u8003\u8d44\u6599\uff1a<a href=\"https:\/\/www.bt.cn\/bbs\/thread-132714-1-1.html\">https:\/\/www.bt.cn\/bbs\/thread-132714-1-1.html<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/help.aliyun.com\/zh\/sae\/user-guide\/use-the-alibaba-cloud-toolkit-for-intellij-idea-plug-in-to-deploy-an-application?spm=a2c4g.11186623.0.0.4ec975acgNXlmu\">https:\/\/help.aliyun.com\/zh\/sae\/user-guide\/use-the-alibaba-cloud-toolkit-for-intellij-idea-plug-in-to-deploy-an-application<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/developer.aliyun.com\/article\/665693\">https:\/\/developer.aliyun.com\/article\/665693<\/a><\/p>\n\n\n\n<p>\u6211\u7528\u7684\u662f\u963f\u91cc\u4e91\u7684\u8f7b\u91cf\u7ea7\u670d\u52a1\u5668\uff0c\u64cd\u4f5c\u8fc7\u7a0b\u6d89\u53ca\u5230\u4e86\u5b9d\u5854\u9762\u677f<\/p>\n\n\n\n<p>\uff08\u5176\u5b9e\u4e5f\u53ef\u4ee5\u901a\u8fc7Maven\u63d2\u4ef6\u5b9e\u73b0\u81ea\u4e0a\u4f20\u4f46\u8fd9\u91cc\u6ca1\u6709\u4f7f\u7528\uff09<\/p>\n\n\n\n<p>\u9700\u8981\u4e8b\u5148\u505a\u7684\u51c6\u5907\uff1a<\/p>\n\n\n\n<p>\u5728\u672c\u5730IDEA\u4e2d\u5b89\u88c5\u63d2\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-10-1024x687.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"687\" data-original=\"https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-10-1024x687.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1033\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div><\/figure>\n\n\n\n<p>\u5728\u5b9d\u5854\u9762\u677f\u8f6f\u4ef6\u5546\u5e97\u914d\u5907\u63d2\u4ef6Redis Nginx Tomcat\u7b49<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-11-1024x528.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"528\" data-original=\"https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-11-1024x528.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1034\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div><\/figure>\n\n\n\n<p>\u64cd\u4f5c\u6b65\u9aa4\uff1a<\/p>\n\n\n\n<p>\u2460\u9996\u5148\u8bbe\u7f6e\u672c\u5730\u7684\u81ea\u4e0a\u4f20\u914d\u7f6e<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-12.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"794\" data-original=\"https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-12.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1035\"  sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/div><\/figure>\n\n\n\n<p>\u6bcf\u6b21\u6267\u884c\u6253\u5305\u64cd\u4f5c\u524d\uff1a\u7531\u4e8e\u9879\u76ee\u8574\u542b\u591a\u6a21\u5757\uff0c\u6240\u4ee5\u9700\u8981\u5c06\u4e0a\u6b21\u7684\u7236\u7ea7\u6a21\u5757\u6267\u884cclean install\u5b50\u6a21\u5757\u6267\u884cclean package<\/p>\n\n\n\n<p>\u6bcf\u6b21\u6267\u884c\u6253\u5305\u540e\uff1a\u9700\u8981\u5bf9springboot\u9879\u76ee\u8fdb\u884c\u91cd\u542f\uff0c\u6267\u884c\u7684\u811a\u672c\u5185\u5bb9\uff08restart-springboot.sh\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>source \/etc\/profile\nkillall java\nnohup java -jar \/www\/NottinghamWall-1.0-SNAPSHOT.jar > nohup.log 2>&amp;1 &amp;<\/code><\/pre>\n\n\n\n<p>\u2461\u5b9d\u5854\u9762\u677f\u8bbe\u7f6eJava\u9879\u76ee\u8fd0\u884c<\/p>\n\n\n\n<p>\u5728\u670d\u52a1\u5668\u4e0a\u627e\u5230\u4e0a\u4f20\u7684\u5305\uff0c\u6211\u8fd9\u91cc\u5c06\u6253\u5305\u597d\u7684jar\u5305\u653e\u7f6e\u5728\u4e86\/www\/NottinghamWall\u76ee\u5f55\u4e0b<\/p>\n\n\n\n<p>\u9879\u76ee\u6267\u884c\u547d\u4ee4\u5728\u9009\u4e2d\u9879\u76eejar\u8def\u5f84\u540e\u4f1a\u81ea\u52a8\u751f\u6210<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-13-1024x630.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"630\" data-original=\"https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-13-1024x630.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1036\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div><\/figure>\n\n\n\n<p>\u5173\u4e8e\u8fd0\u884c\u7aef\u53e3\u7684\u8bbe\u7f6e\u81ea\u884c\u5728\u547d\u4ee4\u884c\u4e2d\u6216\u8005application.yml\u4e2d\u8fdb\u884c\u89e3\u51b3<\/p>\n\n\n\n<p>\u5f53\u770b\u5230\u663e\u793a\u9879\u76ee\u5728\u8fd0\u884c\u4e2d\uff0c\u5e76\u4e14\u5728\u9879\u76ee\u65e5\u5fd7\u4e2d\u770b\u5230\u4e0b\u9762\u7684\u5185\u5bb9\u5c31\u8bf4\u660e\u542f\u52a8\u6210\u529f\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-14-1024x530.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"530\" data-original=\"https:\/\/blog.yiming1234.cn\/wp-content\/uploads\/2024\/07\/image-14-1024x530.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1037\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div><\/figure>\n\n\n\n<p>\u53ef\u80fd\u4f1a\u7528\u7684\u5230\u7684\u6307\u4ee4\uff1asudo lsof -i:8080 kill -9 PID<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5c3e\u58f0<\/h2>\n\n\n\n<p>\u7b14\u8bb0\u603b\u7ed3\u4e8e\u9119\u4eba\u4ee3\u7801\u65e5\u5e38<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u6700\u8fd1\u5728\u7814\u7a76\u9879\u76ee\u7684\u6253\u5305\u53d1\u5e03\u4ee5\u53ca\u5176\u5728\u751f\u4ea7\u73af\u5883\u4e0b\u7684\u90e8\u7f72 \u8c08\u8c08SpringBoot\u540e\u7aef\u9879\u76ee\u7684\u81ea\u52a8\u6253\u5305\uff0c\u4ee5\u53ca\u53d1\u5e03\u5230 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[23],"tags":[38],"class_list":["post-1019","post","type-post","status-publish","format-standard","hentry","category-computer-tips","tag-skill-summary"],"_links":{"self":[{"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/posts\/1019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1019"}],"version-history":[{"count":5,"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/posts\/1019\/revisions"}],"predecessor-version":[{"id":1047,"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/posts\/1019\/revisions\/1047"}],"wp:attachment":[{"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.yiming1234.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}