{"id":60049,"date":"2026-01-14T21:41:55","date_gmt":"2026-01-14T13:41:55","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/60049.html"},"modified":"2026-01-14T21:41:55","modified_gmt":"2026-01-14T13:41:55","slug":"maven","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/60049.html","title":{"rendered":"Maven"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134149-69679d1de1ec1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h4>\u76ee\u5f55<\/h4>\n<ul>\n<li>Maven<\/li>\n<li>\n<ul>\n<li>Maven&amp;MyBatis<\/li>\n<li>1&#xff0c;Maven<\/li>\n<li>\n<ul>\n<li>1.1 Maven\u7b80\u4ecb<\/li>\n<li>\n<ul>\n<li>1.1.1 Maven\u6a21\u578b<\/li>\n<li>1.1.2 \u4ed3\u5e93<\/li>\n<\/ul>\n<\/li>\n<li>1.2 Maven\u5b89\u88c5\u914d\u7f6e<\/li>\n<li>1.3 Maven\u57fa\u672c\u4f7f\u7528<\/li>\n<li>\n<ul>\n<li>1.3.1 Maven \u5e38\u7528\u547d\u4ee4<\/li>\n<li>1.3.2 Maven \u751f\u547d\u5468\u671f<\/li>\n<\/ul>\n<\/li>\n<li>1.4 IDEA\u4f7f\u7528Maven<\/li>\n<li>\n<ul>\n<li>1.4.1 IDEA\u914d\u7f6eMaven\u73af\u5883<\/li>\n<li>1.4.2 Maven \u5750\u6807\u8be6\u89e3<\/li>\n<li>1.4.3 IDEA \u521b\u5efa Maven\u9879\u76ee<\/li>\n<li>1.4.4 IDEA \u5bfc\u5165 Maven\u9879\u76ee<\/li>\n<\/ul>\n<\/li>\n<li>1.5 \u4f9d\u8d56\u7ba1\u7406<\/li>\n<li>\n<ul>\n<li>1.5.1 \u4f7f\u7528\u5750\u6807\u5f15\u5165jar\u5305<\/li>\n<li>1.5.2 \u4f9d\u8d56\u8303\u56f4<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<h2>Maven<\/h2>\n<h3>Maven&amp;MyBatis<\/h3>\n<p>\u76ee\u6807<\/p>\n<ul>\n<li>\u80fd\u591f\u4f7f\u7528Maven\u8fdb\u884c\u9879\u76ee\u7684\u7ba1\u7406<\/li>\n<li>\u80fd\u591f\u5b8c\u6210Mybatis\u4ee3\u7406\u65b9\u5f0f\u67e5\u8be2\u6570\u636e<\/li>\n<li>\u80fd\u591f\u7406\u89e3Mybatis\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6\u7684\u914d\u7f6e<\/li>\n<\/ul>\n<h3>1&#xff0c;Maven<\/h3>\n<p>Maven\u662f\u4e13\u95e8\u7528\u4e8e\u7ba1\u7406\u548c\u6784\u5efaJava\u9879\u76ee\u7684\u5de5\u5177&#xff0c;\u5b83\u7684\u4e3b\u8981\u529f\u80fd\u6709&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u63d0\u4f9b\u4e86\u4e00\u5957\u6807\u51c6\u5316\u7684\u9879\u76ee\u7ed3\u6784<\/p>\n<\/li>\n<li>\n<p>\u63d0\u4f9b\u4e86\u4e00\u5957\u6807\u51c6\u5316\u7684\u6784\u5efa\u6d41\u7a0b&#xff08;\u7f16\u8bd1&#xff0c;\u6d4b\u8bd5&#xff0c;\u6253\u5305&#xff0c;\u53d1\u5e03\u2026\u2026&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u63d0\u4f9b\u4e86\u4e00\u5957\u4f9d\u8d56\u7ba1\u7406\u673a\u5236<\/p>\n<\/li>\n<\/ul>\n<p>\u6807\u51c6\u5316\u7684\u9879\u76ee\u7ed3\u6784&#xff1a;<\/p>\n<p>\u9879\u76ee\u7ed3\u6784\u6211\u4eec\u90fd\u77e5\u9053&#xff0c;\u6bcf\u4e00\u4e2a\u5f00\u53d1\u5de5\u5177&#xff08;IDE&#xff09;\u90fd\u6709\u81ea\u5df1\u4e0d\u540c\u7684\u9879\u76ee\u7ed3\u6784&#xff0c;\u5b83\u4eec\u4e92\u76f8\u4e4b\u95f4\u4e0d\u901a\u7528\u3002\u6211\u518declipse\u4e2d\u521b\u5efa\u7684\u76ee\u5f55&#xff0c;\u65e0\u6cd5\u5728idea\u4e2d\u8fdb\u884c\u4f7f\u7528&#xff0c;\u8fd9\u5c31\u9020\u6210\u4e86\u5f88\u5927\u7684\u4e0d\u65b9\u4fbf&#xff0c;\u5982\u4e0b\u56fe:\u524d\u4e24\u4e2a\u662f\u4ee5\u540e\u5f00\u53d1\u7ecf\u5e38\u4f7f\u7528\u7684\u5f00\u53d1\u5de5\u5177 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134150-69679d1e2aa37.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u800cMaven\u63d0\u4f9b\u4e86\u4e00\u5957\u6807\u51c6\u5316\u7684\u9879\u76ee\u7ed3\u6784&#xff0c;\u6240\u6709\u7684IDE\u4f7f\u7528Maven\u6784\u5efa\u7684\u9879\u76ee\u5b8c\u5168\u4e00\u6837&#xff0c;\u6240\u4ee5IDE\u521b\u5efa\u7684Maven\u9879\u76ee\u53ef\u4ee5\u901a\u7528\u3002\u5982\u4e0b\u56fe\u53f3\u8fb9\u5c31\u662fMaven\u6784\u5efa\u7684\u9879\u76ee\u7ed3\u6784\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134150-69679d1e38c5b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6807\u51c6\u5316\u7684\u6784\u5efa\u6d41\u7a0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134150-69679d1e70806.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5982\u4e0a\u56fe\u6240\u793a\u6211\u4eec\u5f00\u53d1\u4e86\u4e00\u5957\u7cfb\u7edf&#xff0c;\u4ee3\u7801\u9700\u8981\u8fdb\u884c\u7f16\u8bd1\u3001\u6d4b\u8bd5\u3001\u6253\u5305\u3001\u53d1\u5e03&#xff0c;\u8fd9\u4e9b\u64cd\u4f5c\u5982\u679c\u9700\u8981\u53cd\u590d\u8fdb\u884c\u5c31\u663e\u5f97\u7279\u522b\u9ebb\u70e6&#xff0c;\u800cMaven\u63d0\u4f9b\u4e86\u4e00\u5957\u7b80\u5355\u7684\u547d\u4ee4\u6765\u5b8c\u6210\u9879\u76ee\u6784\u5efa\u3002<\/p>\n<p>\u4f9d\u8d56\u7ba1\u7406&#xff1a;<\/p>\n<p>\u4f9d\u8d56\u7ba1\u7406\u5176\u5b9e\u5c31\u662f\u7ba1\u7406\u4f60\u9879\u76ee\u6240\u4f9d\u8d56\u7684\u7b2c\u4e09\u65b9\u8d44\u6e90&#xff08;jar\u5305\u3001\u63d2\u4ef6&#xff09;\u3002\u5982\u4e4b\u524d\u6211\u4eec\u9879\u76ee\u4e2d\u9700\u8981\u4f7f\u7528JDBC\u548cDruid\u7684\u8bdd&#xff0c;\u5c31\u9700\u8981\u53bb\u7f51\u4e0a\u4e0b\u8f7d\u5bf9\u5e94\u7684\u4f9d\u8d56\u5305&#xff08;\u5f53\u524d\u4e4b\u524d\u662f\u8001\u5e08\u5df2\u7ecf\u4e0b\u8f7d\u597d\u63d0\u4f9b\u7ed9\u5927\u5bb6\u4e86&#xff09;&#xff0c;\u590d\u5236\u5230\u9879\u76ee\u4e2d&#xff0c;\u8fd8\u8981\u5c06jar\u5305\u52a0\u5165\u5de5\u4f5c\u73af\u5883\u8fd9\u4e00\u7cfb\u5217\u7684\u64cd\u4f5c\u3002\u5982\u4e0b\u56fe\u6240\u793a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134150-69679d1e8ae0a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u800cMaven\u4f7f\u7528\u6807\u51c6\u7684 \u5750\u6807 \u914d\u7f6e\u6765\u7ba1\u7406\u5404\u79cd\u4f9d\u8d56&#xff0c;\u53ea\u9700\u8981\u7b80\u5355\u7684\u914d\u7f6e\u5c31\u53ef\u4ee5\u5b8c\u6210\u4f9d\u8d56\u7ba1\u7406\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134150-69679d1eb76b6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5982\u4e0a\u56fe\u53f3\u8fb9\u6240\u793a\u5c31\u662fmysql\u9a71\u52a8\u5305\u7684\u5750\u6807&#xff0c;\u5728\u9879\u76ee\u4e2d\u53ea\u9700\u8981\u5199\u8fd9\u6bb5\u914d\u7f6e&#xff0c;\u5176\u4ed6\u90fd\u4e0d\u9700\u8981\u6211\u4eec\u62c5\u5fc3&#xff0c;Maven\u90fd\u5e2e\u6211\u4eec\u8fdb\u884c\u64cd\u4f5c\u4e86\u3002<\/p>\n<p>\u5e02\u9762\u4e0a\u6709\u5f88\u591a\u6784\u5efa\u5de5\u5177&#xff0c;\u800cMaven\u4f9d\u65e7\u8fd8\u662f\u4e3b\u6d41\u6784\u5efa\u5de5\u5177&#xff0c;\u5982\u4e0b\u56fe\u662f\u5e38\u7528\u6784\u5efa\u5de5\u5177\u7684\u4f7f\u7528\u5360\u6bd4<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134150-69679d1ed0b99.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>1.1 Maven\u7b80\u4ecb<\/h4>\n<p>Apache Maven \u662f\u4e00\u4e2a\u9879\u76ee\u7ba1\u7406\u548c\u6784\u5efa\u5de5\u5177&#xff0c;\u5b83\u57fa\u4e8e\u9879\u76ee\u5bf9\u8c61\u6a21\u578b(POM)\u7684\u6982\u5ff5&#xff0c;\u901a\u8fc7\u4e00\u5c0f\u6bb5\u63cf\u8ff0\u4fe1\u606f\u6765\u7ba1\u7406\u9879\u76ee\u7684\u6784\u5efa\u3001\u62a5\u544a\u548c\u6587\u6863\u3002<\/p>\n<p>\u5b98\u7f51 &#xff1a;http:\/\/maven.apache.org\/ <\/p>\n<p>\u901a\u8fc7\u4e0a\u9762\u7684\u63cf\u8ff0\u5927\u5bb6\u53ea\u9700\u8981\u77e5\u9053Maven\u662f\u4e00\u4e2a\u5de5\u5177\u5373\u53ef\u3002Apache \u662f\u4e00\u4e2a\u5f00\u6e90\u7ec4\u7ec7&#xff0c;\u5c06\u6765\u6211\u4eec\u4f1a\u5b66\u4e60\u5f88\u591aApache\u63d0\u4f9b\u7684\u9879\u76ee\u3002<\/p>\n<h5>1.1.1 Maven\u6a21\u578b<\/h5>\n<ul>\n<li>\u9879\u76ee\u5bf9\u8c61\u6a21\u578b (Project Object Model)<\/li>\n<li>\u4f9d\u8d56\u7ba1\u7406\u6a21\u578b(Dependency)<\/li>\n<li>\u63d2\u4ef6(Plugin)<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134151-69679d1f03f53.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5982\u4e0a\u56fe\u6240\u793a\u5c31\u662fMaven\u7684\u6a21\u578b&#xff0c;\u800c\u6211\u4eec\u5148\u770b\u7d2b\u8272\u6846\u6846\u8d77\u6765\u7684\u90e8\u5206&#xff0c;\u4ed6\u5c31\u662f\u7528\u6765\u5b8c\u6210 \u6807\u51c6\u5316\u6784\u5efa\u6d41\u7a0b \u3002\u5982\u6211\u4eec\u9700\u8981\u7f16\u8bd1&#xff0c;Maven\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7f16\u8bd1\u63d2\u4ef6\u4f9b\u6211\u4eec\u4f7f\u7528&#xff0c;\u6211\u4eec\u9700\u8981\u6253\u5305&#xff0c;Maven\u5c31\u63d0\u4f9b\u4e86\u4e00\u4e2a\u6253\u5305\u63d2\u4ef6\u63d0\u4f9b\u6211\u4eec\u4f7f\u7528\u7b49\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134151-69679d1f1e7c5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4e0a\u56fe\u4e2d\u7d2b\u8272\u6846\u8d77\u6765\u7684\u90e8\u5206&#xff0c;\u9879\u76ee\u5bf9\u8c61\u6a21\u578b\u5c31\u662f\u5c06\u6211\u4eec\u81ea\u5df1\u62bd\u8c61\u6210\u4e00\u4e2a\u5bf9\u8c61\u6a21\u578b&#xff0c;\u6709\u81ea\u5df1\u4e13\u5c5e\u7684\u5750\u6807&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a\u662f\u4e00\u4e2aMaven\u9879\u76ee&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134151-69679d1f42725.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4f9d\u8d56\u7ba1\u7406\u6a21\u578b\u5219\u662f\u4f7f\u7528\u5750\u6807\u6765\u63cf\u8ff0\u5f53\u524d\u9879\u76ee\u4f9d\u8d56\u54ea\u513f\u4e9b\u7b2c\u4e09\u65b9jar\u5305&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134151-69679d1faa022.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4e0a\u8ff0Maven\u6a21\u578b\u56fe\u4e2d\u8fd8\u6709\u4e00\u90e8\u5206\u662f\u4ed3\u5e93\u3002\u5982\u4f55\u7406\u89e3\u4ed3\u5e93\u5462&#xff1f;<\/p>\n<h5>1.1.2 \u4ed3\u5e93<\/h5>\n<p>\u5927\u5bb6\u60f3\u60f3\u8fd9\u6837\u7684\u573a\u666f&#xff0c;\u6211\u4eec\u521b\u5efaMaven\u9879\u76ee&#xff0c;\u5728\u9879\u76ee\u4e2d\u4f7f\u7528\u5750\u6807\u6765\u6307\u5b9a\u9879\u76ee\u7684\u4f9d\u8d56&#xff0c;\u90a3\u4e48\u4f9d\u8d56\u7684jar\u5305\u5230\u5e95\u5b58\u50a8\u5728\u4ec0\u4e48\u5730\u65b9\u5462&#xff1f;\u5176\u5b9e\u4f9d\u8d56jar\u5305\u662f\u5b58\u50a8\u5728\u6211\u4eec\u7684\u672c\u5730\u4ed3\u5e93\u4e2d\u3002\u800c\u9879\u76ee\u8fd0\u884c\u65f6\u4ece\u672c\u5730\u4ed3\u5e93\u4e2d\u62ff\u9700\u8981\u7684\u4f9d\u8d56jar\u5305\u3002<\/p>\n<p>\u4ed3\u5e93\u5206\u7c7b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u672c\u5730\u4ed3\u5e93&#xff1a;\u81ea\u5df1\u8ba1\u7b97\u673a\u4e0a\u7684\u4e00\u4e2a\u76ee\u5f55<\/p>\n<\/li>\n<li>\n<p>\u4e2d\u592e\u4ed3\u5e93&#xff1a;\u7531Maven\u56e2\u961f\u7ef4\u62a4\u7684\u5168\u7403\u552f\u4e00\u7684\u4ed3\u5e93<\/p>\n<ul>\n<li>\u5730\u5740&#xff1a; https:\/\/repo1.maven.org\/maven2\/<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u8fdc\u7a0b\u4ed3\u5e93(\u79c1\u670d)&#xff1a;\u4e00\u822c\u7531\u516c\u53f8\u56e2\u961f\u642d\u5efa\u7684\u79c1\u6709\u4ed3\u5e93<\/p>\n<p>\u4eca\u5929\u6211\u4eec\u53ea\u5b66\u4e60\u8fdc\u7a0b\u4ed3\u5e93\u7684\u4f7f\u7528&#xff0c;\u5e76\u4e0d\u4f1a\u642d\u5efa\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5f53\u9879\u76ee\u4e2d\u4f7f\u7528\u5750\u6807\u5f15\u5165\u5bf9\u5e94\u4f9d\u8d56jar\u5305\u540e&#xff0c;\u9996\u5148\u4f1a\u67e5\u627e\u672c\u5730\u4ed3\u5e93\u4e2d\u662f\u5426\u6709\u5bf9\u5e94\u7684jar\u5305&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5982\u679c\u6709&#xff0c;\u5219\u5728\u9879\u76ee\u76f4\u63a5\u5f15\u7528;<\/p>\n<\/li>\n<li>\n<p>\u5982\u679c\u6ca1\u6709&#xff0c;\u5219\u53bb\u4e2d\u592e\u4ed3\u5e93\u4e2d\u4e0b\u8f7d\u5bf9\u5e94\u7684jar\u5305\u5230\u672c\u5730\u4ed3\u5e93\u3002<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134152-69679d2086639.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5982\u679c\u8fd8\u53ef\u4ee5\u642d\u5efa\u8fdc\u7a0b\u4ed3\u5e93&#xff0c;\u5c06\u6765jar\u5305\u7684\u67e5\u627e\u987a\u5e8f\u5219\u53d8\u4e3a&#xff1a;<\/p>\n<p>\u672c\u5730\u4ed3\u5e93 &#8211;&gt; \u8fdc\u7a0b\u4ed3\u5e93\u2013&gt; \u4e2d\u592e\u4ed3\u5e93<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134152-69679d20b76f4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>1.2 Maven\u5b89\u88c5\u914d\u7f6e<\/h4>\n<ul>\n<li>\u89e3\u538b apache-maven-3.6.1.rar \u65e2\u5b89\u88c5\u5b8c\u6210<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134153-69679d2103546.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5efa\u8bae\u89e3\u538b\u7f29\u5230\u6ca1\u6709\u4e2d\u6587\u3001\u7279\u6b8a\u5b57\u7b26\u7684\u8def\u5f84\u4e0b\u3002\u5982\u8bfe\u7a0b\u4e2d\u89e3\u538b\u7f29\u5230 D:\\\\software \u4e0b\u3002<\/p>\n<p>\u89e3\u538b\u7f29\u540e\u7684\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134153-69679d210a320.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\n<p>bin\u76ee\u5f55 &#xff1a; \u5b58\u653e\u7684\u662f\u53ef\u6267\u884c\u547d\u4ee4\u3002mvn \u547d\u4ee4\u91cd\u70b9\u5173\u6ce8\u3002<\/p>\n<\/li>\n<li>\n<p>conf\u76ee\u5f55 &#xff1a;\u5b58\u653eMaven\u7684\u914d\u7f6e\u6587\u4ef6\u3002settings.xml \u914d\u7f6e\u6587\u4ef6\u540e\u671f\u9700\u8981\u4fee\u6539\u3002<\/p>\n<\/li>\n<li>\n<p>lib\u76ee\u5f55 &#xff1a;\u5b58\u653eMaven\u4f9d\u8d56\u7684jar\u5305\u3002Maven\u4e5f\u662f\u4f7f\u7528java\u5f00\u53d1\u7684&#xff0c;\u6240\u4ee5\u5b83\u4e5f\u4f9d\u8d56\u5176\u4ed6\u7684jar\u5305\u3002<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u73af\u5883\u53d8\u91cf MAVEN_HOME \u4e3a\u5b89\u88c5\u8def\u5f84\u7684bin\u76ee\u5f55<\/p>\n<p>\u6b64\u7535\u8111 \u53f3\u952e &#8211;&gt; \u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e &#8211;&gt; \u9ad8\u7ea7 &#8211;&gt; \u73af\u5883\u53d8\u91cf<\/p>\n<p>\u5728\u7cfb\u7edf\u53d8\u91cf\u5904\u65b0\u5efa\u4e00\u4e2a\u53d8\u91cf MAVEN_HOME<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134153-69679d2117f9c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5728 Path \u4e2d\u8fdb\u884c\u914d\u7f6e<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134153-69679d212746b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u8fdb\u884c\u9a8c\u8bc1&#xff0c;\u51fa\u73b0\u5982\u56fe\u6240\u793a\u8868\u793a\u5b89\u88c5\u6210\u529f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134153-69679d213ecc7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\n<p>\u914d\u7f6e\u672c\u5730\u4ed3\u5e93<\/p>\n<p>\u4fee\u6539 conf\/settings.xml \u4e2d\u7684 \u4e3a\u4e00\u4e2a\u6307\u5b9a\u76ee\u5f55\u4f5c\u4e3a\u672c\u5730\u4ed3\u5e93&#xff0c;\u7528\u6765\u5b58\u50a8jar\u5305\u3002<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134153-69679d2171b2d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\n<p>\u914d\u7f6e\u963f\u91cc\u4e91\u79c1\u670d<\/p>\n<p>\u4e2d\u592e\u4ed3\u5e93\u5728\u56fd\u5916&#xff0c;\u6240\u4ee5\u4e0b\u8f7djar\u5305\u901f\u5ea6\u53ef\u80fd\u6bd4\u8f83\u6162&#xff0c;\u800c\u963f\u91cc\u516c\u53f8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u8fdc\u7a0b\u4ed3\u5e93&#xff0c;\u91cc\u9762\u57fa\u672c\u4e5f\u90fd\u6709\u5f00\u6e90\u9879\u76ee\u7684jar\u5305\u3002<\/p>\n<p>\u4fee\u6539 conf\/settings.xml \u4e2d\u7684 \u6807\u7b7e&#xff0c;\u4e3a\u5176\u6dfb\u52a0\u5982\u4e0b\u5b50\u6807\u7b7e&#xff1a;<\/p>\n<p> <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>mirror<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>id<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>alimaven<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>id<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>name<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>aliyun maven<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>name<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>url<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>http:\/\/maven.aliyun.com\/nexus\/content\/groups\/public\/<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>url<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>mirrorOf<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>central<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>mirrorOf<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>mirror<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\n <\/li>\n<\/ul>\n<h4>1.3 Maven\u57fa\u672c\u4f7f\u7528<\/h4>\n<h5>1.3.1 Maven \u5e38\u7528\u547d\u4ee4<\/h5>\n<ul>\n<li>\n<p>compile &#xff1a;\u7f16\u8bd1<\/p>\n<\/li>\n<li>\n<p>clean&#xff1a;\u6e05\u7406<\/p>\n<\/li>\n<li>\n<p>test&#xff1a;\u6d4b\u8bd5<\/p>\n<\/li>\n<li>\n<p>package&#xff1a;\u6253\u5305<\/p>\n<\/li>\n<li>\n<p>install&#xff1a;\u5b89\u88c5<\/p>\n<\/li>\n<\/ul>\n<p>\u547d\u4ee4\u6f14\u793a&#xff1a;<\/p>\n<p>\u5728 \u8d44\u6599\\\\\u4ee3\u7801\\\\maven-project \u63d0\u4f9b\u4e86\u4e00\u4e2a\u4f7f\u7528Maven\u6784\u5efa\u7684\u9879\u76ee&#xff0c;\u9879\u76ee\u7ed3\u6784\u5982\u4e0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134153-69679d21a76b9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u800c\u6211\u4eec\u4f7f\u7528\u4e0a\u9762\u547d\u4ee4\u9700\u8981\u5728\u78c1\u76d8\u4e0a\u8fdb\u5165\u5230\u9879\u76ee\u7684 pom.xml \u76ee\u5f55\u4e0b&#xff0c;\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26<\/p>\n<p>&lt;img src&#061;\u201cassets\/image-20210726170549907.png\u201d <img decoding=\"async\" src=\"2026-01-14wsjbupzaqcx.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u7f16\u8bd1\u547d\u4ee4\u6f14\u793a&#xff1a;<\/p>\n<p>compile &#xff1a;\u7f16\u8bd1<\/p>\n<p>\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\u53ef\u4ee5\u770b\u5230&#xff1a;<\/p>\n<ul>\n<li>\u4ece\u963f\u91cc\u4e91\u4e0b\u8f7d\u7f16\u8bd1\u9700\u8981\u7684\u63d2\u4ef6\u7684jar\u5305&#xff0c;\u5728\u672c\u5730\u4ed3\u5e93\u4e5f\u80fd\u770b\u5230\u4e0b\u8f7d\u597d\u7684\u63d2\u4ef6<\/li>\n<li>\u5728\u9879\u76ee\u4e0b\u4f1a\u751f\u6210\u4e00\u4e2a target \u76ee\u5f55<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14vl1wjx24t0w.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u540c\u65f6\u5728\u9879\u76ee\u4e0b\u4f1a\u51fa\u73b0\u4e00\u4e2a target \u76ee\u5f55&#xff0c;\u7f16\u8bd1\u540e\u7684\u5b57\u8282\u7801\u6587\u4ef6\u5c31\u653e\u5728\u8be5\u76ee\u5f55\u4e0b<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14hbz414l5wjz.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6e05\u7406\u547d\u4ee4\u6f14\u793a&#xff1a;<\/p>\n<p>mvn clean<\/p>\n<p>\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\u53ef\u4ee5\u770b\u5230<\/p>\n<ul>\n<li>\u4ece\u963f\u91cc\u4e91\u4e0b\u8f7d\u6e05\u7406\u9700\u8981\u7684\u63d2\u4ef6jar\u5305<\/li>\n<li>\u5220\u9664\u9879\u76ee\u4e0b\u7684 target \u76ee\u5f55<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14yf01sw2ose5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6253\u5305\u547d\u4ee4\u6f14\u793a&#xff1a;<\/p>\n<p>mvn package<\/p>\n<p>\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\u53ef\u4ee5\u770b\u5230&#xff1a;<\/p>\n<ul>\n<li>\u4ece\u963f\u91cc\u4e91\u4e0b\u8f7d\u6253\u5305\u9700\u8981\u7684\u63d2\u4ef6jar\u5305<\/li>\n<li>\u5728\u9879\u76ee\u7684 terget \u76ee\u5f55\u4e0b\u6709\u4e00\u4e2ajar\u5305&#xff08;\u5c06\u5f53\u524d\u9879\u76ee\u6253\u6210\u7684jar\u5305&#xff09;<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14nbqar15jki3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6d4b\u8bd5\u547d\u4ee4\u6f14\u793a&#xff1a;<\/p>\n<p>mvn test  <\/p>\n<p>\u8be5\u547d\u4ee4\u4f1a\u6267\u884c\u6240\u6709\u7684\u6d4b\u8bd5\u4ee3\u7801\u3002\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\u6548\u679c\u5982\u4e0b<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14wspur0rmomo.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5b89\u88c5\u547d\u4ee4\u6f14\u793a&#xff1a;<\/p>\n<p>mvn install<\/p>\n<p>\u8be5\u547d\u4ee4\u4f1a\u5c06\u5f53\u524d\u9879\u76ee\u6253\u6210jar\u5305&#xff0c;\u5e76\u5b89\u88c5\u5230\u672c\u5730\u4ed3\u5e93\u3002\u6267\u884c\u5b8c\u4e0a\u8ff0\u547d\u4ee4\u540e\u5230\u672c\u5730\u4ed3\u5e93\u67e5\u770b\u7ed3\u679c\u5982\u4e0b&#xff1a;<\/p>\n<h5>1.3.2 Maven \u751f\u547d\u5468\u671f<\/h5>\n<p>Maven \u6784\u5efa\u9879\u76ee\u751f\u547d\u5468\u671f\u63cf\u8ff0\u7684\u662f\u4e00\u6b21\u6784\u5efa\u8fc7\u7a0b\u7ecf\u5386\u7ecf\u5386\u4e86\u591a\u5c11\u4e2a\u4e8b\u4ef6<\/p>\n<p>Maven \u5bf9\u9879\u76ee\u6784\u5efa\u7684\u751f\u547d\u5468\u671f\u5212\u5206\u4e3a3\u5957&#xff1a;<\/p>\n<ul>\n<li>clean &#xff1a;\u6e05\u7406\u5de5\u4f5c\u3002<\/li>\n<li>default &#xff1a;\u6838\u5fc3\u5de5\u4f5c&#xff0c;\u4f8b\u5982\u7f16\u8bd1&#xff0c;\u6d4b\u8bd5&#xff0c;\u6253\u5305&#xff0c;\u5b89\u88c5\u7b49\u3002<\/li>\n<li>site &#xff1a; \u4ea7\u751f\u62a5\u544a&#xff0c;\u53d1\u5e03\u7ad9\u70b9\u7b49\u3002\u8fd9\u5957\u58f0\u660e\u5468\u671f\u4e00\u822c\u4e0d\u4f1a\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<p>\u540c\u4e00\u5957\u751f\u547d\u5468\u671f\u5185&#xff0c;\u6267\u884c\u540e\u8fb9\u7684\u547d\u4ee4&#xff0c;\u524d\u9762\u7684\u6240\u6709\u547d\u4ee4\u4f1a\u81ea\u52a8\u6267\u884c\u3002\u4f8b\u5982\u9ed8\u8ba4&#xff08;default&#xff09;\u751f\u547d\u5468\u671f\u5982\u4e0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14n2iekct0oyc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5f53\u6211\u4eec\u6267\u884c install&#xff08;\u5b89\u88c5&#xff09;\u547d\u4ee4\u65f6&#xff0c;\u5b83\u4f1a\u5148\u6267\u884c compile\u547d\u4ee4&#xff0c;\u518d\u6267\u884c test  \u547d\u4ee4&#xff0c;\u518d\u6267\u884c package \u547d\u4ee4&#xff0c;\u6700\u540e\u6267\u884c install \u547d\u4ee4\u3002<\/p>\n<p>\u5f53\u6211\u4eec\u6267\u884c package &#xff08;\u6253\u5305&#xff09;\u547d\u4ee4\u65f6&#xff0c;\u5b83\u4f1a\u5148\u6267\u884c compile \u547d\u4ee4&#xff0c;\u518d\u6267\u884c test \u547d\u4ee4&#xff0c;\u6700\u540e\u6267\u884c package \u547d\u4ee4\u3002<\/p>\n<p>\u9ed8\u8ba4\u7684\u751f\u547d\u5468\u671f\u4e5f\u6709\u5bf9\u5e94\u7684\u5f88\u591a\u547d\u4ee4&#xff0c;\u5176\u4ed6\u7684\u4e00\u822c\u90fd\u4e0d\u4f1a\u4f7f\u7528&#xff0c;\u6211\u4eec\u53ea\u5173\u6ce8\u5e38\u7528\u7684&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14op4xko5uusl.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>1.4 IDEA\u4f7f\u7528Maven<\/h4>\n<p>\u4ee5\u540e\u5f00\u53d1\u4e2d\u6211\u4eec\u80af\u5b9a\u4f1a\u5728\u9ad8\u7ea7\u5f00\u53d1\u5de5\u5177\u4e2d\u4f7f\u7528Maven\u7ba1\u7406\u9879\u76ee&#xff0c;\u800c\u6211\u4eec\u5e38\u7528\u7684\u9ad8\u7ea7\u5f00\u53d1\u5de5\u5177\u662fIDEA&#xff0c;\u6240\u4ee5\u63a5\u4e0b\u6765\u6211\u4eec\u4f1a\u8bb2\u89e3Maven\u5728IDEA\u4e2d\u7684\u4f7f\u7528\u3002<\/p>\n<h5>1.4.1 IDEA\u914d\u7f6eMaven\u73af\u5883<\/h5>\n<p>\u6211\u4eec\u9700\u8981\u5148\u5728IDEA\u4e2d\u914d\u7f6eMaven\u73af\u5883&#xff1a;<\/p>\n<ul>\n<li>\u9009\u62e9 IDEA\u4e2d File &#8211;&gt; Settings<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14rdq2h3ykjm1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\n<p>\u641c\u7d22 maven<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14u4brhecqefl.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u8bbe\u7f6e IDEA \u4f7f\u7528\u672c\u5730\u5b89\u88c5\u7684 Maven&#xff0c;\u5e76\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u8def\u5f84<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14y4b03tlfmyn.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>1.4.2 Maven \u5750\u6807\u8be6\u89e3<\/h5>\n<p>\u4ec0\u4e48\u662f\u5750\u6807&#xff1f;<\/p>\n<ul>\n<li>Maven \u4e2d\u7684\u5750\u6807\u662f\u8d44\u6e90\u7684\u552f\u4e00\u6807\u8bc6<\/li>\n<li>\u4f7f\u7528\u5750\u6807\u6765\u5b9a\u4e49\u9879\u76ee\u6216\u5f15\u5165\u9879\u76ee\u4e2d\u9700\u8981\u7684\u4f9d\u8d56<\/li>\n<\/ul>\n<p>Maven \u5750\u6807\u4e3b\u8981\u7ec4\u6210<\/p>\n<ul>\n<li>groupId&#xff1a;\u5b9a\u4e49\u5f53\u524dMaven\u9879\u76ee\u96b6\u5c5e\u7ec4\u7ec7\u540d\u79f0&#xff08;\u901a\u5e38\u662f\u57df\u540d\u53cd\u5199&#xff0c;\u4f8b\u5982&#xff1a;com.itheima&#xff09;<\/li>\n<li>artifactId&#xff1a;\u5b9a\u4e49\u5f53\u524dMaven\u9879\u76ee\u540d\u79f0&#xff08;\u901a\u5e38\u662f\u6a21\u5757\u540d\u79f0&#xff0c;\u4f8b\u5982 order-service\u3001goods-service&#xff09;<\/li>\n<li>version&#xff1a;\u5b9a\u4e49\u5f53\u524d\u9879\u76ee\u7248\u672c\u53f7<\/li>\n<\/ul>\n<p>\u5982\u4e0b\u56fe\u5c31\u662f\u4f7f\u7528\u5750\u6807\u8868\u793a\u4e00\u4e2a\u9879\u76ee&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14txhhnlz4cyf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6ce8\u610f&#xff1a;<\/p>\n<ul>\n<li>\u4e0a\u9762\u6240\u8bf4\u7684\u8d44\u6e90\u53ef\u4ee5\u662f\u63d2\u4ef6\u3001\u4f9d\u8d56\u3001\u5f53\u524d\u9879\u76ee\u3002<\/li>\n<li>\u6211\u4eec\u7684\u9879\u76ee\u5982\u679c\u88ab\u5176\u4ed6\u7684\u9879\u76ee\u4f9d\u8d56\u65f6&#xff0c;\u4e5f\u662f\u9700\u8981\u5750\u6807\u6765\u5f15\u5165\u7684\u3002<\/li>\n<\/ul>\n<h5>1.4.3 IDEA \u521b\u5efa Maven\u9879\u76ee<\/h5>\n<ul>\n<li>\u521b\u5efa\u6a21\u5757&#xff0c;\u9009\u62e9Maven&#xff0c;\u70b9\u51fbNext<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14ccp4tq44lg1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u586b\u5199\u6a21\u5757\u540d\u79f0&#xff0c;\u5750\u6807\u4fe1\u606f&#xff0c;\u70b9\u51fbfinish&#xff0c;\u521b\u5efa\u5b8c\u6210<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-144e2hmqqcugr.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u521b\u5efa\u597d\u7684\u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14og0kv0lkxxi.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u7f16\u5199 HelloWorld&#xff0c;\u5e76\u8fd0\u884c<\/li>\n<\/ul>\n<h5>1.4.4 IDEA \u5bfc\u5165 Maven\u9879\u76ee<\/h5>\n<p>\u5927\u5bb6\u5728\u5b66\u4e60\u65f6\u53ef\u80fd\u9700\u8981\u770b\u8001\u5e08\u7684\u4ee3\u7801&#xff0c;\u5f53\u7136\u4e5f\u5c31\u9700\u8981\u5c06\u8001\u5e08\u7684\u4ee3\u7801\u5bfc\u5165\u5230\u81ea\u5df1\u7684IDEA\u4e2d\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u9879\u76ee\u7684\u5bfc\u5165&#xff1a;<\/p>\n<ul>\n<li>\u9009\u62e9\u53f3\u4fa7Maven\u9762\u677f&#xff0c;\u70b9\u51fb &#043; \u53f7<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14c5zhjqtlzb0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u9009\u4e2d\u5bf9\u5e94\u9879\u76ee\u7684pom.xml\u6587\u4ef6&#xff0c;\u53cc\u51fb\u5373\u53ef<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14ccmiqe03omz.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\n<p>\u5982\u679c\u6ca1\u6709Maven\u9762\u677f&#xff0c;\u9009\u62e9<\/p>\n<p>View &#8211;&gt; Appearance &#8211;&gt; Tool Window Bars<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14qsoho1kuyg4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u53ef\u4ee5\u901a\u8fc7\u4e0b\u56fe\u6240\u793a\u8fdb\u884c\u547d\u4ee4\u7684\u64cd\u4f5c&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14scro4ajsz0c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u914d\u7f6e Maven-Helper \u63d2\u4ef6<\/p>\n<ul>\n<li>\u9009\u62e9 IDEA\u4e2d File &#8211;&gt; Settings<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14w3nwbgw2zfg.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u9009\u62e9 Plugins<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14vcafkipv1x1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u641c\u7d22 Maven&#xff0c;\u9009\u62e9\u7b2c\u4e00\u4e2a Maven Helper&#xff0c;\u70b9\u51fbInstall\u5b89\u88c5&#xff0c;\u5f39\u51fa\u9762\u677f\u4e2d\u70b9\u51fbAccept<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14kkarpfsodih.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u91cd\u542f IDEA<\/li>\n<\/ul>\n<p>\u5b89\u88c5\u5b8c\u8be5\u63d2\u4ef6\u540e\u53ef\u4ee5\u901a\u8fc7 \u9009\u4e2d\u9879\u76ee\u53f3\u952e\u8fdb\u884c\u76f8\u5173\u547d\u4ee4\u64cd\u4f5c&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14tmxgorkegtq.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>1.5 \u4f9d\u8d56\u7ba1\u7406<\/h4>\n<h5>1.5.1 \u4f7f\u7528\u5750\u6807\u5f15\u5165jar\u5305<\/h5>\n<p>\u4f7f\u7528\u5750\u6807\u5f15\u5165jar\u5305\u7684\u6b65\u9aa4&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5728\u9879\u76ee\u7684 pom.xml \u4e2d\u7f16\u5199 \u6807\u7b7e<\/p>\n<\/li>\n<li>\n<p>\u5728 \u6807\u7b7e\u4e2d \u4f7f\u7528 \u5f15\u5165\u5750\u6807<\/p>\n<\/li>\n<li>\n<p>\u5b9a\u4e49\u5750\u6807\u7684 groupId&#xff0c;artifactId&#xff0c;version<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14z5gn1isxi2f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u70b9\u51fb\u5237\u65b0\u6309\u94ae&#xff0c;\u4f7f\u5750\u6807\u751f\u6548<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-144enrq2guh11.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6ce8\u610f&#xff1a;<\/p>\n<ul>\n<li>\u5177\u4f53\u7684\u5750\u6807\u6211\u4eec\u53ef\u4ee5\u5230\u5982\u4e0b\u7f51\u7ad9\u8fdb\u884c\u641c\u7d22<\/li>\n<li>https:\/\/mvnrepository.com\/<\/li>\n<\/ul>\n<p>\u5feb\u6377\u65b9\u5f0f\u5bfc\u5165jar\u5305\u7684\u5750\u6807&#xff1a;<\/p>\n<p>\u6bcf\u6b21\u9700\u8981\u5f15\u5165jar\u5305&#xff0c;\u90fd\u53bb\u5bf9\u5e94\u7684\u7f51\u7ad9\u8fdb\u884c\u641c\u7d22\u662f\u6bd4\u8f83\u9ebb\u70e6\u7684&#xff0c;\u63a5\u4e0b\u6765\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e00\u79cd\u5feb\u6377\u5f15\u5165\u5750\u6807\u7684\u65b9\u5f0f<\/p>\n<ul>\n<li>\u5728 pom.xml \u4e2d \u6309 alt &#043; insert&#xff0c;\u9009\u62e9 Dependency<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14fq3ech5dpdf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u5728\u5f39\u51fa\u7684\u9762\u677f\u4e2d\u641c\u7d22\u5bf9\u5e94\u5750\u6807&#xff0c;\u7136\u540e\u53cc\u51fb\u9009\u4e2d\u5bf9\u5e94\u5750\u6807<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14lb1jocntyyg.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u70b9\u51fb\u5237\u65b0\u6309\u94ae&#xff0c;\u4f7f\u5750\u6807\u751f\u6548<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14lxviixf1wez.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u81ea\u52a8\u5bfc\u5165\u8bbe\u7f6e&#xff1a;<\/p>\n<p>\u4e0a\u9762\u6bcf\u6b21\u64cd\u4f5c\u90fd\u9700\u8981\u70b9\u51fb\u5237\u65b0\u6309\u94ae&#xff0c;\u8ba9\u5f15\u5165\u7684\u5750\u6807\u751f\u6548\u3002\u5f53\u7136\u6211\u4eec\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u8ba9\u5176\u81ea\u52a8\u5b8c\u6210<\/p>\n<ul>\n<li>\u9009\u62e9 IDEA\u4e2d File &#8211;&gt; Settings<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14vhzfylondqy.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u5728\u5f39\u51fa\u7684\u9762\u677f\u4e2d\u627e\u5230 Build Tools<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-01-14vxng1zkyxz3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u9009\u62e9 Any changes&#xff0c;\u70b9\u51fb ok \u5373\u53ef\u751f\u6548<\/li>\n<\/ul>\n<h5>1.5.2 \u4f9d\u8d56\u8303\u56f4<\/h5>\n<p>\u901a\u8fc7\u8bbe\u7f6e\u5750\u6807\u7684\u4f9d\u8d56\u8303\u56f4(scope)&#xff0c;\u53ef\u4ee5\u8bbe\u7f6e \u5bf9\u5e94jar\u5305\u7684\u4f5c\u7528\u8303\u56f4&#xff1a;\u7f16\u8bd1\u73af\u5883\u3001\u6d4b\u8bd5\u73af\u5883\u3001\u8fd0\u884c\u73af\u5883\u3002<\/p>\n<p>\u5982\u4e0b\u56fe\u6240\u793a\u7ed9 junit \u4f9d\u8d56\u901a\u8fc7 scope \u6807\u7b7e\u6307\u5b9a\u4f9d\u8d56\u7684\u4f5c\u7528\u8303\u56f4\u3002 \u90a3\u4e48\u8fd9\u4e2a\u4f9d\u8d56\u5c31\u53ea\u80fd\u4f5c\u7528\u5728\u6d4b\u8bd5\u73af\u5883&#xff0c;\u5176\u4ed6\u73af\u5883\u4e0b\u4e0d\u80fd\u4f7f\u7528\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-01-14ymhzjfgvmst.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u90a3\u4e48 scope \u90fd\u53ef\u4ee5\u6709\u54ea\u4e9b\u53d6\u503c\u5462&#xff1f;<\/p>\n<table>\n<tr>\u4f9d\u8d56\u8303\u56f4\u7f16\u8bd1classpath\u6d4b\u8bd5classpath\u8fd0\u884cclasspath\u4f8b\u5b50<\/tr>\n<tbody>\n<tr>\n<td>compile<\/td>\n<td>Y<\/td>\n<td>Y<\/td>\n<td>Y<\/td>\n<td>logback<\/td>\n<\/tr>\n<tr>\n<td>test<\/td>\n<td>&#8211;<\/td>\n<td>Y<\/td>\n<td>&#8211;<\/td>\n<td>Junit<\/td>\n<\/tr>\n<tr>\n<td>provided<\/td>\n<td>Y<\/td>\n<td>Y<\/td>\n<td>&#8211;<\/td>\n<td>servlet-api<\/td>\n<\/tr>\n<tr>\n<td>runtime<\/td>\n<td>&#8211;<\/td>\n<td>Y<\/td>\n<td>Y<\/td>\n<td>jdbc\u9a71\u52a8<\/td>\n<\/tr>\n<tr>\n<td>system<\/td>\n<td>Y<\/td>\n<td>Y<\/td>\n<td>&#8211;<\/td>\n<td>\u5b58\u50a8\u5728\u672c\u5730\u7684jar\u5305<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>compile &#xff1a;\u4f5c\u7528\u4e8e\u7f16\u8bd1\u73af\u5883\u3001\u6d4b\u8bd5\u73af\u5883\u3001\u8fd0\u884c\u73af\u5883\u3002<\/li>\n<li>test &#xff1a; \u4f5c\u7528\u4e8e\u6d4b\u8bd5\u73af\u5883\u3002\u5178\u578b\u7684\u5c31\u662fJunit\u5750\u6807&#xff0c;\u4ee5\u540e\u4f7f\u7528Junit\u65f6&#xff0c;\u90fd\u4f1a\u5c06scope\u6307\u5b9a\u4e3a\u8be5\u503c<\/li>\n<li>provided &#xff1a;\u4f5c\u7528\u4e8e\u7f16\u8bd1\u73af\u5883\u3001\u6d4b\u8bd5\u73af\u5883\u3002\u6211\u4eec\u540e\u9762\u4f1a\u5b66\u4e60 servlet-api &#xff0c;\u5728\u4f7f\u7528\u5b83\u65f6&#xff0c;\u5fc5\u987b\u5c06 scope \u8bbe\u7f6e\u4e3a\u8be5\u503c&#xff0c;\u4e0d\u7136\u8fd0\u884c\u65f6\u5c31\u4f1a\u62a5\u9519<\/li>\n<li>runtime &#xff1a; \u4f5c\u7528\u4e8e\u6d4b\u8bd5\u73af\u5883\u3001\u8fd0\u884c\u73af\u5883\u3002jdbc\u9a71\u52a8\u4e00\u822c\u5c06 scope \u8bbe\u7f6e\u4e3a\u8be5\u503c&#xff0c;\u5f53\u7136\u4e0d\u8bbe\u7f6e\u4e5f\u6ca1\u6709\u4efb\u4f55\u95ee\u9898<\/li>\n<\/ul>\n<p>\u6ce8\u610f&#xff1a;<\/p>\n<ul>\n<li>\u5982\u679c\u5f15\u5165\u5750\u6807\u4e0d\u6307\u5b9a scope \u6807\u7b7e\u65f6&#xff0c;\u9ed8\u8ba4\u5c31\u662f compile \u503c\u3002\u4ee5\u540e\u5927\u90e8\u5206jar\u5305\u90fd\u662f\u4f7f\u7528\u9ed8\u8ba4\u503c\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55MavenMaven&amp;MyBatis1&#xff0c;Maven1.1 Maven\u7b80\u4ecb1.1.1 Maven\u6a21\u578b1.1.2 \u4ed3\u5e931.2 Maven\u5b89\u88c5\u914d\u7f6e1.3 Maven\u57fa\u672c\u4f7f\u75281.3.1 Maven \u5e38\u7528\u547d\u4ee41.3.2 Maven \u751f\u547d\u5468\u671f1.4 IDEA\u4f7f\u7528Maven1.4.1 IDEA\u914d\u7f6eMaven\u73af\u58831.4.2 Maven \u5750\u6807\u8be6\u89e31.4.3 IDEA \u521b\u5efa Maven\u9879\u76ee1.4.4 IDEA \u5bfc\u5165 Maven\u9879\u76ee1.5 \u4f9d\u8d56\u7ba1\u74061.5.1 \u4f7f\u7528\u5750\u6807\u5f15\u5165jar\u5305<\/p>\n","protected":false},"author":2,"featured_media":60029,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,393],"topic":[],"class_list":["post-60049","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-maven"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Maven - \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\/60049.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Maven - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u76ee\u5f55MavenMaven&amp;MyBatis1&#xff0c;Maven1.1 Maven\u7b80\u4ecb1.1.1 Maven\u6a21\u578b1.1.2 \u4ed3\u5e931.2 Maven\u5b89\u88c5\u914d\u7f6e1.3 Maven\u57fa\u672c\u4f7f\u75281.3.1 Maven \u5e38\u7528\u547d\u4ee41.3.2 Maven \u751f\u547d\u5468\u671f1.4 IDEA\u4f7f\u7528Maven1.4.1 IDEA\u914d\u7f6eMaven\u73af\u58831.4.2 Maven \u5750\u6807\u8be6\u89e31.4.3 IDEA \u521b\u5efa Maven\u9879\u76ee1.4.4 IDEA \u5bfc\u5165 Maven\u9879\u76ee1.5 \u4f9d\u8d56\u7ba1\u74061.5.1 \u4f7f\u7528\u5750\u6807\u5f15\u5165jar\u5305\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/60049.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-14T13:41:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134149-69679d1de1ec1.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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/60049.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/60049.html\",\"name\":\"Maven - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-14T13:41:55+00:00\",\"dateModified\":\"2026-01-14T13:41:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/60049.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/60049.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/60049.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Maven\"}]},{\"@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":"Maven - \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\/60049.html","og_locale":"zh_CN","og_type":"article","og_title":"Maven - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u76ee\u5f55MavenMaven&amp;MyBatis1&#xff0c;Maven1.1 Maven\u7b80\u4ecb1.1.1 Maven\u6a21\u578b1.1.2 \u4ed3\u5e931.2 Maven\u5b89\u88c5\u914d\u7f6e1.3 Maven\u57fa\u672c\u4f7f\u75281.3.1 Maven \u5e38\u7528\u547d\u4ee41.3.2 Maven \u751f\u547d\u5468\u671f1.4 IDEA\u4f7f\u7528Maven1.4.1 IDEA\u914d\u7f6eMaven\u73af\u58831.4.2 Maven \u5750\u6807\u8be6\u89e31.4.3 IDEA \u521b\u5efa Maven\u9879\u76ee1.4.4 IDEA \u5bfc\u5165 Maven\u9879\u76ee1.5 \u4f9d\u8d56\u7ba1\u74061.5.1 \u4f7f\u7528\u5750\u6807\u5f15\u5165jar\u5305","og_url":"https:\/\/www.wsisp.com\/helps\/60049.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-14T13:41:55+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114134149-69679d1de1ec1.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/60049.html","url":"https:\/\/www.wsisp.com\/helps\/60049.html","name":"Maven - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-14T13:41:55+00:00","dateModified":"2026-01-14T13:41:55+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/60049.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/60049.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/60049.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Maven"}]},{"@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\/60049","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=60049"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/60049\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/60029"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=60049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=60049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=60049"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=60049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}