{"id":152156,"date":"2020-09-06T05:41:44","date_gmt":"2020-09-05T21:41:44","guid":{"rendered":"http:\/\/4563.org\/?p=152156"},"modified":"2020-09-06T05:41:44","modified_gmt":"2020-09-05T21:41:44","slug":"%e6%b1%82%e5%8a%a9%ef%bc%8c-springboot-%e6%a8%a1%e5%9d%97%e4%be%9d%e8%b5%96%e6%b5%8b%e8%af%95%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=152156","title":{"rendered":"\u6c42\u52a9\uff0c springboot \u6a21\u5757\u4f9d\u8d56\u6d4b\u8bd5\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6c42\u52a9\uff0c springboot \u6a21\u5757\u4f9d\u8d56\u6d4b\u8bd5\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : simonlu9 <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u73b0\u5728\u9047\u5230\u7684\u95ee\u9898\u662f\uff0cA \u6a21\u5757\u4f9d\u8d56\u4e8e B \u6a21\u5757\uff0c\u800c B \u6a21\u5757\u5d4c\u5165\u7684\u4e1c\u897f\u592a\u591a\u5566\uff0c\u73b0\u5728\u7684\u9700\u6c42\u662f \u8dd1 A \u5355\u5143\u6d4b\u8bd5\u7684\u65f6\u5019\uff0c\u5c5e\u4e8e\u81ea\u5df1\u4e1a\u52a1\u4ee3\u7801\uff0c\u8ddf B \u6ca1\u5173\u7cfb\uff0c\u80fd\u4e0d\u80fd\u4e0d\u8fd0\u884c B \u6a21\u5757\u7684\u4ee3\u7801\uff0c\u53ea\u63d0\u4f9b\u7f16\u8bd1\uff0c\u4e0d\u7136\u6bcf\u6b21\u8dd1\u90fd\u592a\u9ebb\u70e6\u5566\uff0c\u7528\u4e86 maven scope runtime,\u8fd8\u662f\u4f1a\u8fd0\u884c b<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3186935\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jrue0011 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6d4b\u8bd5\u7c7b\u4e0a\u7528 Spring \u76f8\u5173\u7684\u6ce8\u89e3\u63a7\u5236\u5f15\u5165\u7684\u914d\u7f6e\u548c\u7ec4\u4ef6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3186936\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : simonlu9 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jrue0011 \u5e94\u8be5\u4f7f\u7528\u4ec0\u4e48\u6ce8\u89e3\u5462\uff0c\u5bf9 springboot \u4e0d\u662f\u5f88\u719f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3186937\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhazi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u4f60\u8bf4\u7684\u662f\u96c6\u6210\u6d4b\u8bd5 <br \/>\u5982\u679c B \u4f9d\u8d56\u662f\u4e2a autoconfig \u53ef\u4ee5\u662f\u7528 exclude \u6392\u9664\u6389<br \/>\u5982\u679c\u4e0d\u662f autoconfig\uff0c\u90a3\u4e48\u751f\u547d\u5468\u671f\u5e94\u8be5\u662f\u4f60\u81ea\u5df1\u63a7\u5236\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3186938\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jrue0011 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jrue0011 \u524d\u9762\u8bf4\u7684\u53ef\u80fd\u6709\u70b9\u4e0d\u6e05\u695a<\/p>\n<p>\u5982\u679c A \u3001B \u90fd\u662f Spring \u7ba1\u7406\uff0c\u7528\u5230\u4e86\u5404\u79cd SpringBoot \u81ea\u52a8\u914d\u7f6e\u4ee5\u53ca\u989d\u5916\u7684\u624b\u52a8\u914d\u7f6e\u7684\u8bdd\uff0c\u9700\u8981\u6839\u636e\u5355\u5143\u6d4b\u8bd5\u5185\u5bb9\u6392\u9664\u6389\u975e\u5fc5\u8981\u7684 SpringBoot \u81ea\u52a8\u914d\u7f6e\u4ee5\u53ca\u624b\u52a8\u914d\u7f6e\uff0c\u83b7\u5f97\u6700\u5c0f\u7684\u542f\u52a8\u73af\u5883\u3002<\/p>\n<p>\u6ce8\u89e3\u53ea\u662f\u5728\u5355\u5143\u6d4b\u8bd5\u4ee3\u7801\u91cc\u8fdb\u884c\u73af\u5883\u914d\u7f6e\u7684\u65b9\u6cd5\uff0c\u600e\u4e48\u7528\u8bf4\u8d77\u6765\u5c31\u8bf4\u4e0d\u6e05\u695a\u4e86\uff0c\u5efa\u8bae\u53c2\u8003\u5b98\u65b9\u6587\u6863\u3002<\/p>\n<p>https:\/\/docs.spring.io\/spring-boot\/docs\/current\/reference\/html\/spring-boot-features.html#boot-features-testing<br \/>https:\/\/docs.spring.io\/spring-framework\/docs\/current\/spring-framework-reference\/testing.html#testing                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6c42\u52a9\uff0c springboot \u6a21\u5757&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/152156"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=152156"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/152156\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=152156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=152156"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=152156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}