[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"site-config":3,"approved-friend-links":32,"tool-slug-maven":33},{"code":4,"msg":5,"data":6},0,"操作成功",{"police_number":7,"login_password_enabled":8,"copyright":9,"wechat_pay_api_key":7,"admin_login_wechat_enabled":8,"wechat_pay_public_key_id":10,"member_price":11,"police_link":7,"payment_enabled":12,"contact_email":13,"wechat_pay_serial_no":14,"member_discount":15,"wechat_pay_mch_id":16,"alipay_return_url":7,"alipay_private_key":17,"admin_login_password_enabled":8,"wechat_id":18,"wechat_pay_app_id":19,"owner_name":20,"site_domain":21,"site_desc":22,"login_wechat_qr_enabled":8,"alipay_public_key":23,"wechat_pay_private_key":24,"site_name":25,"icp_number":26,"alipay_notify_url":7,"wechat_pay_public_key":27,"payment_alipay_enabled":8,"icp_link":28,"wechat_pay_api_v3_key":29,"login_email_enabled":12,"alipay_app_id":30,"member_enabled":12,"wechat_pay_notify_url":31,"admin_login_email_enabled":12},"","false","© 2026 makexu.com 版权所有","PUB_KEY_ID_0117465997412026060900182334001401","168","true","370663537@qq.com","38039BC91B0D03B6C7DDDBAEAB823D1201FDA789","0.70","1746599741","MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCJKx4pNlM6dJN10cqHxscvHhyBOu7KY6+23rmnIs1GtIvd8bu09I1mCyzWUDM26VxLz2l55I44gmK+\u002FnIhxqzsl0znvbZh5r3fj8CYbQRcDM7L9I7hOr9k5vWc\u002FAQy2jb9AmNuV3xa8F1bVkve00nN2U6Oap2aoNdDhSsSA1NeC0WwtVLaq2wkqqKBY\u002FUrfNLR3xr0iP0YRQy+paY6jta4Tz88KHE+x3ZRfxben+tejAsYVpjVTpcfDKzzKSTqDcY1vbPjApCsN66kKmEwD4HmPRNphksLiIOqyWc+zaJE39JM620Br6NuxvMiR0dmbncE3UaztvvXUSL0kDKnYKKhAgMBAAECggEAfO9U7VyZuehsVyfaPIkE6xmWBO7UiGr7pKiAmIbOSdQwgNqoiU0lbQhIsnsh6qXqdvJXs7pE\u002F5tirWu8MJ9w6Z11Yq4c7FbqIjIgzbSd\u002F+l6gbIiYWrM4O6sT2wLtvWimBgQ0HPGxF2h6otTV4VC98cyEe1x12EgMFOewy1cRY7QP68VBaGpOS6twrCJtLw9PvOPfeY6Fkur65ESAp1N7ELgJRHE0vtQljY01EYM30BwesDIZpUaGqmepzRhFKOkfiQDtgXM3GZOUXJHWR06j2T9PYcmDEFRkPPtLABI42UJPwtIb75kiXjv6uysob0vo746WtdIGRkuQNRjyyh\u002FsQKBgQDLxUCWAexSrrbnr5UITlMwocY0Fuo1U9pjABfB5MnrWoQPWsJgAOgiXt\u002FsNRtdZDMpo7fTku2rhDueiUHWY7aLUbvvvzbuBLfNXIX7wy2qNEPMmRpn9KkzLeB0MYwMvTXgT+zD\u002Fr6lIO3RYQE9JYaojBMuykDu+2Y9C9yRGTGjbwKBgQCsU6gc8cODXKHSCovZO8M6fbOpSoc6GezozvMvD\u002Fg1sOwNwovZ4VJwIFyGTyssbjjEp\u002F5B5B\u002FDg+HGygaPubuzTyc0\u002FfZ5uxgDfMjzExMhJiol0JdgSX+m3pC\u002Fc189pcvkSAKXQrGApXN3i95OrGOj\u002FiRr1AuGH8sYk0+vWYjS7wKBgGSEAL\u002F+YtzGYmMXMaTPPioXIvY+93kmy+tZ+F4kxZXbKJmKY6eHyvppYnvaFo2TB8nagKtVJvgcWmxxuJBQz5MZ1mMFJ8txeFlM8qqmNLho36jlPSlafrxIPRgT+Mmv7AuiYWCtIM3D2IwYFcxb3nj13+CM1EsOp\u002FglCcBpdRrxAoGAFLL3voJLubumtFQP+Ef1a1EuA2ewVopGqrAxBbYlWk2mDQERS1qFTHKWqotX5D5ZE0YahE+igRmWRQp\u002FP0RQB3m6e+MFeBnBCKo0eP4RjinHZkNn62jorGKPgG+bQQxpMUJ1DTY1m\u002F5DoFhsm4aZcVlVhp4xxCqNeqY3LBjVFoECgYEAmOxK+rzVnF83wfTE65lMXqN8UWTOWSDsbiGzx6YSg02X67MfDk2asD\u002FyciUiCCE25lRxwm0SuaetOTMbZO5mD8ZZEq7GQSt9L+r1LFjkB\u002FwmX6tbAJI3rpAWpD0ntcASCN8QfaWh3liFMaSjkn1OmhCCrV\u002FbS+aOJ1wZwJK4jeg=","dajiang8070","wxebc91c29d4bd3fe8","码客徐","www.makexu.com","分享优质开发工具、项目实战、编程教程、AI开发、源码项目和技术资源，帮助程序员快速成长，让开发更高效。","MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApUboIRwnBzMLC+hFy+b1Fhsy4xacSBoMfasdqMicCrK70hj+mCrUqJ2hGUn2gClNvMGyO+90p9UNhrDGCzpact8CCZCs6t7vQCrnD4PEmEKl62XcCwngrPEKP5gP6sSWDL\u002Fm8cHabF\u002FVn9HlayaS0nePd89XRgSi8gd0oh5qyUbt2s27zY3fpIsd66naVwMLn7CBwDLFKDINnFeRu\u002FsAN3SKYcwl7T1yhpPb99yoSCKA+yYaPaT85UKLOqESk6kUabPsUDDmpkZn6nHHXUQa3\u002FSJUSnn7a\u002F+YOZsSveZg4ei1AMSmXTZH\u002FnB9MuHgyZ0pnI2Bw3LR1YpNcyUoKtZfQIDAQAB","-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDnmf8oIN9HbAUi\nuaNZwKB\u002F3pDPtavwOLpF6PpKJsLts3fOeXHUwbNJzcjrxTe5DKKMNOk5t3cFXPtb\nBH18pEFNi1zHWkN5aZ1BrViCwYpo7FRucie7Dc9sGFeaRZMsRH+piHUkCh5I3QJM\nYCXIbsiTeavWiRCSLsmcQ2KfStSw8NO9+Tio6dTQb7lmSCBEK51zlge8tgvEyoWm\nsXCAlAz0GgzxTrIWo4saJ2ooIkX0ljvmPyTxyZ2+nXzI8RYKA1DZ38yoy4Pa+xXv\nxOa0VV5kidl8s+6F8rk7133boU+44gmKOE8lK5+a3FBkrI1D3rSxFGnQ0WIYC\u002F\u002F0\nB+TRUVFTAgMBAAECggEBAIAN+bKqWkoXQ8+rbNJXW2bYHKF8BZFRDE1TP\u002FB39heP\nv5J+O54za3pHOeyCowjCH63+I2YyNrDUdHYiyW99Mk453BatpdkfuD90JRhHAsx4\nv0ZCAA3A2QsfenBmP7WeOif2ty4yGgSXjonEL5\u002FfAS\u002FpekWoi20ISZkI+SKyMV+S\n+2+aoInmX9KcK1E\u002FM8vA6\u002FaNUOYmGM5hk1342ezQ131\u002FlwrksN4i1cuUdGaXJ8SI\nlmXTavDC1ypQKXtyigorOCW2Y\u002FAzNVjL04Pb\u002FiSsB0yjagSHU69veSLJTf+XCGFt\ne3YfScQDhLblq142RnKVfMQvePaAI3dQ1tOqgUrHuaECgYEA+DzzcmiyxOSicu37\n+Nvwc5d8DETyxBDqF\u002F1GJ6bZLwflZvBOx67K\u002FNlT9Z3L2yNGjrL0w0oQJnOWH0hb\nyW7piXXqnQ2\u002FNkNLzks0goY6zjyI3FHMvDEvdxiyz4PD6H+JeMUSANLnGztR9aFh\nAO1mgtH+TF95mUenytEYcTde4JUCgYEA7tfgcWm8SsctkahZOwbClWPDy69wxUh5\nlLDgwj1+XJ7Pa5MaACUvQV8E6LFA7HHZZCIf2JGOgzXW0UEym46Z6v2OiXOasLKN\nBwtnFytKbzOK7nkkr+U6ympW1eZXJN5A4MZRLQl2gKA8teZL8Gz+F2i0+uVlR0cb\nK7G\u002FdfAS6EcCgYEAoc8hJR9n\u002F\u002F3EgkPsbe\u002F3kXFZ86lx0SnxXYfDlg8lHIn6F5pm\nz7R5Lk3\u002Fc2fTPNmGoXe3IiEB2\u002F6WCXgiFHBOnEKXlp4iWJ2PKT5OURJr\u002FIjq8SoE\n2Vr6RJh93dRW\u002FBM+KdHThWP0LwUAzKrPz0nv+zAkoeXOHoLdtc+MLihYmO0CgYEA\nrp8glmqy4o0rMOI\u002FkttHaoeNQB8duO9bDK4hNYJWH4twpPrguJh3Kzk4UpQ9nmFC\nimY0mFcbNa0oSMd9I6QnvlnxW2ctAuEYIL1ietsIybKKcf4aJ4vV5uXGZQ7KScdA\n8dWsxdu0SyhcGrWscbSONTk1kHYlDO7c255SF\u002F0VJcMCgYB0v6C3bNIPkbAlvFlo\nBTgccv3dBUa2Zo\u002FOJa8xGW\u002FVz3RuL6qTjFRVEYJILVmrSR2fT1w44EET2fGW6cb4\nb5a\u002FDGz9scZwUBwhhMleBPUu2LL6\u002FFkuP2amFFr5uRK8GwbZ5TvrtpNgdBoMhvPb\n1+z709LIwIzFbq5WLW3OEao7MA==\n-----END PRIVATE KEY-----","码客徐的小栈","皖ICP备2024065487号-6","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAymOTDu1kxxydfrQEgKbe\nne0+i+Bq55TY+BWkkev\u002Ffy9NtSS0Fpbz4g7rscQg6W+4CmYz4VSD6GrC3pXwjRhK\nUGZDHhUnUV9Hf6SLWepxfh8SihdqDbBu6mRKRwyQw7RBYhxLZV+udagchCtSBut1\niQ6H+ozn+3jVUdX\u002F2rGuXBt1WIWbFomPj1MIQuolSORM85nr8cqWyimgECm70imE\nTlRR0s9WkksWoF0WwFdoWWAjxo4LVNdf9\u002FEySIu5I5NuYslwWjb+T87D\u002FNkIoI92\ne1jjAOsPgl5oJ10wLjNjbOMy9+\u002FrzDDz6yAyuKMKj\u002Flhu2D35Cx8ZJDC798vTbZS\nfQIDAQAB\n-----END PUBLIC KEY-----","https:\u002F\u002Fbeian.miit.gov.cn\u002F","K8mX2pQ7vN4rT9yL6cD1wH5sJ3eF0aZB","9021000164659589","https:\u002F\u002Fwww.makexu.com\u002Fapi\u002Forder\u002Fnotify\u002Fwechat",[],{"tool":34,"articles":89,"firstDocHtml":114,"related":115},{"id":35,"name":36,"slug":37,"categoryId":38,"category":39,"categoryColor":40,"imageUrl":41,"summary":42,"sortNum":43,"status":44,"viewCount":45,"downloadCount":46,"favoriteCount":47,"likeCount":47,"tutorialCount":48,"videoCount":48,"articles":49,"videos":53,"versions":59,"tags":78},"4","Maven","maven","2066778763594342401","开发环境","#3b82f6","https:\u002F\u002Fthomas-coding-pub.oss-cn-hangzhou.aliyuncs.com\u002Fimage\u002F744e3f488f4948db96d113033ff7e505.jpeg","Maven 是 Apache 提供的项目管理和构建工具，通过统一的项目结构和依赖管理机制，实现 Java 项目的编译、测试、打包、部署等自动化管理。",2,1,"638","147","0",null,[50],{"id":51,"toolId":48,"title":52,"content":48,"sortNum":4,"status":44,"createTime":48,"updateTime":48},"2079422978921345025","Maven下载安装与配置教程",[54],{"id":55,"toolId":35,"title":56,"videoUrl":57,"platform":58,"coverImage":48,"description":7,"sortNum":4,"status":44},"2081613412808536066","Maven下载安装配置视频讲解","【【2026最新版】Maven环境搭建教程 从安装到IDEA配置完整指南 Java开发必备工具】 https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002FBV1zCgZ6sEQg\u002F?share_source=copy_web&vd_source=611c5c18fb4b550a4d24d80364d15e98","bilibili",[60],{"id":61,"toolId":35,"versionName":62,"sortNum":4,"status":44,"downloads":63},"2079421047062671362","Maven 3.9.16",[64,70,75],{"id":65,"versionId":61,"platform":66,"fileName":67,"diskType":68,"downloadUrl":69,"extractCode":7,"sortNum":4},"2079421934749364226","Windows","apache-maven-3.9.16-bin.zip","夸克网盘","https:\u002F\u002Fpan.quark.cn\u002Fs\u002Fe6fc4c5bd5ce",{"id":71,"versionId":61,"platform":72,"fileName":73,"diskType":68,"downloadUrl":74,"extractCode":7,"sortNum":44},"2079422694832746498","macOS","apache-maven-3.9.16-bin.tar.gz","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F86f21099cf71",{"id":76,"versionId":61,"platform":77,"fileName":73,"diskType":68,"downloadUrl":74,"extractCode":7,"sortNum":43},"2079422695323480066","Linux",[79,83,86],{"id":80,"name":81,"color":82,"sortNum":4,"status":44},"2066782261320880129","Java开发","#22c55e",{"id":84,"name":85,"color":40,"sortNum":4,"status":44},"2070360484906627073","依赖管理",{"id":87,"name":88,"color":40,"sortNum":4,"status":44},"2070360509309087746","项目构建",[90],{"id":51,"docNo":91,"categoryId":92,"categoryName":93,"title":52,"slug":48,"summary":7,"contentMd":94,"seoTitle":48,"seoKeywords":48,"seoDescription":48,"author":48,"coverFileId":48,"coverUrl":48,"visibility":4,"visibilityDesc":95,"allowDownload":96,"wordCount":97,"readingTime":98,"viewCount":4,"sortNum":4,"status":44,"publishTime":99,"createTime":99,"updateTime":100,"tags":101,"attachments":102,"prev":103,"next":107,"businessBindings":110},"DC20260721RVWO63","2073338810713542659","工具教程","# 一、什么是 Maven\nMaven 是 Apache 开源的项目管理工具，主要用于：\n\n+ 项目依赖管理\n+ 项目构建\n+ 项目打包\n+ 项目测试\n+ 多模块项目管理\n\n目前 Java 企业级开发中，Maven 已经成为事实标准。\n\n# 二、下载 Maven\n## 1、访问官网下载\n官网：\n\n[https:\u002F\u002Fmaven.apache.org\u002Fdownload.cgi](https:\u002F\u002Fmaven.apache.org\u002Fdownload.cgi)\n\n选择最新版 Binary zip archive 下载即可。\n\n历史版本下载：[https:\u002F\u002Farchive.apache.org\u002Fdist\u002Fmaven\u002F](https:\u002F\u002Farchive.apache.org\u002Fdist\u002Fmaven\u002F)\n\n## 2、解压安装\n将下载后的压缩包解压到指定目录：\n\n```latex\nD:\\Environment\\apache-maven-3.9.11\n```\n\n建议不要放在中文目录中。\n\n# 三、配置环境变量\n## 1、新建 MAVEN_HOME\n变量名：\n\n```latex\nMAVEN_HOME\n```\n\n变量值：\n\n```latex\nD:\\Environment\\apache-maven-3.9.11\n```\n\n## 2、配置 Path\n在 Path 中添加：\n\n```latex\n%MAVEN_HOME%\\bin\n```\n\n---\n\n## 3、验证安装\n打开 CMD：\n\n```bash\nmvn -v\n```\n\n输出类似：\n\n```latex\nApache Maven 3.9.11\nMaven home: D:\\Environment\\apache-maven-3.9.11\nJava version: 21\n```\n\n说明 Maven 安装成功。\n\n> Maven 依赖 Java 环境。\n>\n> 首先确保已安装 JDK并且配置了环境变量JAVA_HOME.\n>\n\n# 四、配置本地仓库\n## 为什么要配置本地仓库\n默认情况下 Maven 会将依赖下载到：\n\n```latex\nC:\\Users\\用户名\\.m2\n```\n\n长期使用会占用大量 C 盘空间。\n\n建议修改到其他磁盘。\n\n例如：\n\n```latex\nD:\\MavenRepository\n```\n\n---\n\n## 修改 settings.xml\n文件位置：\n\n```latex\nMAVEN_HOME\\conf\\settings.xml\n```\n\n找到：\n\n```xml\n\u003ClocalRepository>\n\u003C\u002FlocalRepository>\n\n```\n\n修改为：\n\n```xml\n\u003ClocalRepository>D:\\MavenRepository\u003C\u002FlocalRepository>\n\n```\n\n# 五、配置国内镜像\n## 为什么配置镜像\n默认从 Maven Central 下载依赖。\n\n国内访问速度较慢。\n\n建议配置阿里云镜像。\n\n## 修改 settings.xml\n找到：\n\n```xml\n\u003Cmirrors>\n\u003C\u002Fmirrors>\n```\n\n添加：\n\n```xml\n\n\u003Cmirror>\n  \u003Cid>aliyunmaven\u003C\u002Fid>\n  \u003CmirrorOf>*\u003C\u002FmirrorOf>\n  \u003Cname>阿里云公共仓库\u003C\u002Fname>\n  \u003Curl>https:\u002F\u002Fmaven.aliyun.com\u002Frepository\u002Fpublic\u003C\u002Furl>\n\u003C\u002Fmirror>\n\n```\n\n# 六、IDEA配置 Maven\n## 1、打开设置\n```latex\nFile\n └── Settings\n      └── Build, Execution, Deployment\n           └── Build Tools\n                └── Maven\n```\n\n\n\n## 2、配置 Maven\n### Maven Home Path\n```latex\nD:\\Environment\\apache-maven-3.9.11\n```\n\n### User settings file\n```latex\nD:\\Environment\\apache-maven-3.9.11\\conf\\settings.xml\n```\n\n### Local Repository\n```latex\nD:\\MavenRepository\n```\n\n\n\n## 3、应用配置\n点击：\n\n```latex\nApply\n```\n\n然后：\n\n```latex\nOK\n```\n\n即可生效。\n\n\n\n# 七、常用 Maven 命令\n```bash\n# 清理项目\nmvn clean\n\n# 编译项目\nmvn compile\n\n# 运行测试\nmvn test\n\n# 打包项目\nmvn package\n\n# 安装到本地仓库\nmvn install\n\n# 下载依赖\nmvn dependency:resolve\n```\n\n# 八、常见问题\n## 1、mvn 命令无法识别\n原因：\n\n```latex\nPath 未配置\n```\n\n检查：\n\n```latex\n%MAVEN_HOME%\\bin\n```\n\n是否加入环境变量。\n\n## 2、JAVA_HOME 未配置\n执行：\n\n```bash\nmvn -v\n```\n\n提示：\n\n```latex\nJAVA_HOME is not defined correctly\n```\n\n解决：\n\n配置环境变量：\n\n```latex\nJAVA_HOME=D:\\Environment\\jdk-21\n```\n\n并加入：\n\n```latex\n%JAVA_HOME%\\bin\n```\n\n## 3、依赖下载失败\n原因：\n\n+ 网络问题\n+ 镜像源失效\n+ Maven 仓库损坏\n\n解决：\n\n删除本地仓库中对应依赖重新下载：\n\n```latex\nD:\\MavenRepository\n```\n\n然后执行：\n\n```bash\nmvn clean install\n```\n\n# 九、总结\nMaven 安装配置主要分为以下步骤：\n\n1. 下载 Maven\n2. 解压安装\n3. 配置环境变量\n4. 配置本地仓库\n5. 配置阿里云镜像\n6. 配置 IDEA\n7. 验证 Maven 是否安装成功\n\n推荐配置：\n\n```latex\nJDK：21\nMaven：3.9.x\n本地仓库：D:\\MavenRepository\n镜像源：阿里云 Maven\nIDE：IntelliJ IDEA\n```\n\n完成以上配置后，即可进行 Spring Boot、Spring Cloud 等 Java 项目的开发。\n\n\n","公开",false,2298,8,"2026-07-21 12:27:27","2026-07-21 12:32:43",[],[],{"id":104,"title":105,"slug":106},"2079094308565987329","JDK下载安装与配置教程","jdk-install-guide",{"id":108,"title":109,"slug":48},"2079556471928139777","Node.js 下载安装与配置教程",[111],{"businessType":112,"businessId":35,"businessName":36,"bindScene":113},"TOOL","GENERAL","\u003Ch1 id=\"%E4%B8%80%E3%80%81%E4%BB%80%E4%B9%88%E6%98%AF-maven\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%B8%80%E3%80%81%E4%BB%80%E4%B9%88%E6%98%AF-maven\" aria-hidden=\"true\">\u003C\u002Fa> 一、什么是 Maven\u003C\u002Fh1>\n\u003Cp>Maven 是 Apache 开源的项目管理工具，主要用于：\u003C\u002Fp>\n\u003Cul>\n\u003Cli>项目依赖管理\u003C\u002Fli>\n\u003Cli>项目构建\u003C\u002Fli>\n\u003Cli>项目打包\u003C\u002Fli>\n\u003Cli>项目测试\u003C\u002Fli>\n\u003Cli>多模块项目管理\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>目前 Java 企业级开发中，Maven 已经成为事实标准。\u003C\u002Fp>\n\u003Ch1 id=\"%E4%BA%8C%E3%80%81%E4%B8%8B%E8%BD%BD-maven\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%BA%8C%E3%80%81%E4%B8%8B%E8%BD%BD-maven\" aria-hidden=\"true\">\u003C\u002Fa> 二、下载 Maven\u003C\u002Fh1>\n\u003Ch2 id=\"1%E3%80%81%E8%AE%BF%E9%97%AE%E5%AE%98%E7%BD%91%E4%B8%8B%E8%BD%BD\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#1%E3%80%81%E8%AE%BF%E9%97%AE%E5%AE%98%E7%BD%91%E4%B8%8B%E8%BD%BD\" aria-hidden=\"true\">\u003C\u002Fa> 1、访问官网下载\u003C\u002Fh2>\n\u003Cp>官网：\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fmaven.apache.org\u002Fdownload.cgi\">https:\u002F\u002Fmaven.apache.org\u002Fdownload.cgi\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>选择最新版 Binary zip archive 下载即可。\u003C\u002Fp>\n\u003Cp>历史版本下载：\u003Ca href=\"https:\u002F\u002Farchive.apache.org\u002Fdist\u002Fmaven\u002F\">https:\u002F\u002Farchive.apache.org\u002Fdist\u002Fmaven\u002F\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch2 id=\"2%E3%80%81%E8%A7%A3%E5%8E%8B%E5%AE%89%E8%A3%85\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#2%E3%80%81%E8%A7%A3%E5%8E%8B%E5%AE%89%E8%A3%85\" aria-hidden=\"true\">\u003C\u002Fa> 2、解压安装\u003C\u002Fh2>\n\u003Cp>将下载后的压缩包解压到指定目录：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"D:\\Environment\\apache-maven-3.9.11\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>D:\\Environment\\apache-maven-3.9.11\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>建议不要放在中文目录中。\u003C\u002Fp>\n\u003Ch1 id=\"%E4%B8%89%E3%80%81%E9%85%8D%E7%BD%AE%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%B8%89%E3%80%81%E9%85%8D%E7%BD%AE%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F\" aria-hidden=\"true\">\u003C\u002Fa> 三、配置环境变量\u003C\u002Fh1>\n\u003Ch2 id=\"1%E3%80%81%E6%96%B0%E5%BB%BA-maven_home\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#1%E3%80%81%E6%96%B0%E5%BB%BA-maven_home\" aria-hidden=\"true\">\u003C\u002Fa> 1、新建 MAVEN_HOME\u003C\u002Fh2>\n\u003Cp>变量名：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"MAVEN_HOME\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>MAVEN_HOME\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>变量值：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"D:\\Environment\\apache-maven-3.9.11\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>D:\\Environment\\apache-maven-3.9.11\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch2 id=\"2%E3%80%81%E9%85%8D%E7%BD%AE-path\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#2%E3%80%81%E9%85%8D%E7%BD%AE-path\" aria-hidden=\"true\">\u003C\u002Fa> 2、配置 Path\u003C\u002Fh2>\n\u003Cp>在 Path 中添加：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"%MAVEN_HOME%\\bin\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>%MAVEN_HOME%\\bin\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Chr>\n\u003Ch2 id=\"3%E3%80%81%E9%AA%8C%E8%AF%81%E5%AE%89%E8%A3%85\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#3%E3%80%81%E9%AA%8C%E8%AF%81%E5%AE%89%E8%A3%85\" aria-hidden=\"true\">\u003C\u002Fa> 3、验证安装\u003C\u002Fh2>\n\u003Cp>打开 CMD：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">bash\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"mvn -v\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-bash\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> -v\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>输出类似：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"Apache Maven 3.9.11\nMaven home: D:\\Environment\\apache-maven-3.9.11\nJava version: 21\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>Apache Maven 3.9.11\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>Maven home: D:\\Environment\\apache-maven-3.9.11\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>Java version: 21\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>说明 Maven 安装成功。\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Maven 依赖 Java 环境。\u003C\u002Fp>\n\u003Cp>首先确保已安装 JDK并且配置了环境变量JAVA_HOME.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Ch1 id=\"%E5%9B%9B%E3%80%81%E9%85%8D%E7%BD%AE%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E5%9B%9B%E3%80%81%E9%85%8D%E7%BD%AE%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93\" aria-hidden=\"true\">\u003C\u002Fa> 四、配置本地仓库\u003C\u002Fh1>\n\u003Ch2 id=\"%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E9%85%8D%E7%BD%AE%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E9%85%8D%E7%BD%AE%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93\" aria-hidden=\"true\">\u003C\u002Fa> 为什么要配置本地仓库\u003C\u002Fh2>\n\u003Cp>默认情况下 Maven 会将依赖下载到：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"C:\\Users\\用户名\\.m2\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>C:\\Users\\用户名\\.m2\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>长期使用会占用大量 C 盘空间。\u003C\u002Fp>\n\u003Cp>建议修改到其他磁盘。\u003C\u002Fp>\n\u003Cp>例如：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"D:\\MavenRepository\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>D:\\MavenRepository\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Chr>\n\u003Ch2 id=\"%E4%BF%AE%E6%94%B9-settings.xml\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%BF%AE%E6%94%B9-settings.xml\" aria-hidden=\"true\">\u003C\u002Fa> 修改 settings.xml\u003C\u002Fh2>\n\u003Cp>文件位置：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"MAVEN_HOME\\conf\\settings.xml\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>MAVEN_HOME\\conf\\settings.xml\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>找到：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">xml\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"&lt;localRepository&gt;\n&lt;\u002FlocalRepository&gt;\n\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-xml\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">localRepository\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">localRepository\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>修改为：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">xml\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"&lt;localRepository&gt;D:\\MavenRepository&lt;\u002FlocalRepository&gt;\n\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-xml\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">localRepository\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>D:\\MavenRepository&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">localRepository\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch1 id=\"%E4%BA%94%E3%80%81%E9%85%8D%E7%BD%AE%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%BA%94%E3%80%81%E9%85%8D%E7%BD%AE%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F\" aria-hidden=\"true\">\u003C\u002Fa> 五、配置国内镜像\u003C\u002Fh1>\n\u003Ch2 id=\"%E4%B8%BA%E4%BB%80%E4%B9%88%E9%85%8D%E7%BD%AE%E9%95%9C%E5%83%8F\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%B8%BA%E4%BB%80%E4%B9%88%E9%85%8D%E7%BD%AE%E9%95%9C%E5%83%8F\" aria-hidden=\"true\">\u003C\u002Fa> 为什么配置镜像\u003C\u002Fh2>\n\u003Cp>默认从 Maven Central 下载依赖。\u003C\u002Fp>\n\u003Cp>国内访问速度较慢。\u003C\u002Fp>\n\u003Cp>建议配置阿里云镜像。\u003C\u002Fp>\n\u003Ch2 id=\"%E4%BF%AE%E6%94%B9-settings.xml-1\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%BF%AE%E6%94%B9-settings.xml-1\" aria-hidden=\"true\">\u003C\u002Fa> 修改 settings.xml\u003C\u002Fh2>\n\u003Cp>找到：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">xml\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"&lt;mirrors&gt;\n&lt;\u002Fmirrors&gt;\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-xml\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">mirrors\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">mirrors\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>添加：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">xml\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"\n&lt;mirror&gt;\n  &lt;id&gt;aliyunmaven&lt;\u002Fid&gt;\n  &lt;mirrorOf&gt;*&lt;\u002FmirrorOf&gt;\n  &lt;name&gt;阿里云公共仓库&lt;\u002Fname&gt;\n  &lt;url&gt;https:\u002F\u002Fmaven.aliyun.com\u002Frepository\u002Fpublic&lt;\u002Furl&gt;\n&lt;\u002Fmirror&gt;\n\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-xml\">\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">mirror\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">id\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>aliyunmaven&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">id\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">mirrorOf\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>*&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">mirrorOf\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">name\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>阿里云公共仓库&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">name\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">url\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>https:\u002F\u002Fmaven.aliyun.com\u002Frepository\u002Fpublic&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">url\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">mirror\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch1 id=\"%E5%85%AD%E3%80%81idea%E9%85%8D%E7%BD%AE-maven\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E5%85%AD%E3%80%81idea%E9%85%8D%E7%BD%AE-maven\" aria-hidden=\"true\">\u003C\u002Fa> 六、IDEA配置 Maven\u003C\u002Fh1>\n\u003Ch2 id=\"1%E3%80%81%E6%89%93%E5%BC%80%E8%AE%BE%E7%BD%AE\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#1%E3%80%81%E6%89%93%E5%BC%80%E8%AE%BE%E7%BD%AE\" aria-hidden=\"true\">\u003C\u002Fa> 1、打开设置\u003C\u002Fh2>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"File\n └── Settings\n      └── Build, Execution, Deployment\n           └── Build Tools\n                └── Maven\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>File\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan> └── Settings\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>      └── Build, Execution, Deployment\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>           └── Build Tools\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>                └── Maven\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch2 id=\"2%E3%80%81%E9%85%8D%E7%BD%AE-maven\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#2%E3%80%81%E9%85%8D%E7%BD%AE-maven\" aria-hidden=\"true\">\u003C\u002Fa> 2、配置 Maven\u003C\u002Fh2>\n\u003Ch3 id=\"maven-home-path\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#maven-home-path\" aria-hidden=\"true\">\u003C\u002Fa> Maven Home Path\u003C\u002Fh3>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"D:\\Environment\\apache-maven-3.9.11\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>D:\\Environment\\apache-maven-3.9.11\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch3 id=\"user-settings-file\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#user-settings-file\" aria-hidden=\"true\">\u003C\u002Fa> User settings file\u003C\u002Fh3>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"D:\\Environment\\apache-maven-3.9.11\\conf\\settings.xml\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>D:\\Environment\\apache-maven-3.9.11\\conf\\settings.xml\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch3 id=\"local-repository\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#local-repository\" aria-hidden=\"true\">\u003C\u002Fa> Local Repository\u003C\u002Fh3>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"D:\\MavenRepository\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>D:\\MavenRepository\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch2 id=\"3%E3%80%81%E5%BA%94%E7%94%A8%E9%85%8D%E7%BD%AE\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#3%E3%80%81%E5%BA%94%E7%94%A8%E9%85%8D%E7%BD%AE\" aria-hidden=\"true\">\u003C\u002Fa> 3、应用配置\u003C\u002Fh2>\n\u003Cp>点击：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"Apply\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>Apply\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>然后：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"OK\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>OK\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>即可生效。\u003C\u002Fp>\n\u003Ch1 id=\"%E4%B8%83%E3%80%81%E5%B8%B8%E7%94%A8-maven-%E5%91%BD%E4%BB%A4\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%B8%83%E3%80%81%E5%B8%B8%E7%94%A8-maven-%E5%91%BD%E4%BB%A4\" aria-hidden=\"true\">\u003C\u002Fa> 七、常用 Maven 命令\u003C\u002Fh1>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">bash\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"# 清理项目\nmvn clean\n\n# 编译项目\nmvn compile\n\n# 运行测试\nmvn test\n\n# 打包项目\nmvn package\n\n# 安装到本地仓库\nmvn install\n\n# 下载依赖\nmvn dependency:resolve\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-bash\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6A737D;--shiki-dark:#6A737D\"># 清理项目\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> clean\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6A737D;--shiki-dark:#6A737D\"># 编译项目\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> compile\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6A737D;--shiki-dark:#6A737D\"># 运行测试\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> test\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6A737D;--shiki-dark:#6A737D\"># 打包项目\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> package\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6A737D;--shiki-dark:#6A737D\"># 安装到本地仓库\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> install\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6A737D;--shiki-dark:#6A737D\"># 下载依赖\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> dependency:resolve\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch1 id=\"%E5%85%AB%E3%80%81%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E5%85%AB%E3%80%81%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98\" aria-hidden=\"true\">\u003C\u002Fa> 八、常见问题\u003C\u002Fh1>\n\u003Ch2 id=\"1%E3%80%81mvn-%E5%91%BD%E4%BB%A4%E6%97%A0%E6%B3%95%E8%AF%86%E5%88%AB\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#1%E3%80%81mvn-%E5%91%BD%E4%BB%A4%E6%97%A0%E6%B3%95%E8%AF%86%E5%88%AB\" aria-hidden=\"true\">\u003C\u002Fa> 1、mvn 命令无法识别\u003C\u002Fh2>\n\u003Cp>原因：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"Path 未配置\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>Path 未配置\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>检查：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"%MAVEN_HOME%\\bin\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>%MAVEN_HOME%\\bin\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>是否加入环境变量。\u003C\u002Fp>\n\u003Ch2 id=\"2%E3%80%81java_home-%E6%9C%AA%E9%85%8D%E7%BD%AE\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#2%E3%80%81java_home-%E6%9C%AA%E9%85%8D%E7%BD%AE\" aria-hidden=\"true\">\u003C\u002Fa> 2、JAVA_HOME 未配置\u003C\u002Fh2>\n\u003Cp>执行：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">bash\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"mvn -v\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-bash\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> -v\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>提示：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"JAVA_HOME is not defined correctly\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>JAVA_HOME is not defined correctly\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>解决：\u003C\u002Fp>\n\u003Cp>配置环境变量：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"JAVA_HOME=D:\\Environment\\jdk-21\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>JAVA_HOME=D:\\Environment\\jdk-21\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>并加入：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"%JAVA_HOME%\\bin\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>%JAVA_HOME%\\bin\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch2 id=\"3%E3%80%81%E4%BE%9D%E8%B5%96%E4%B8%8B%E8%BD%BD%E5%A4%B1%E8%B4%A5\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#3%E3%80%81%E4%BE%9D%E8%B5%96%E4%B8%8B%E8%BD%BD%E5%A4%B1%E8%B4%A5\" aria-hidden=\"true\">\u003C\u002Fa> 3、依赖下载失败\u003C\u002Fh2>\n\u003Cp>原因：\u003C\u002Fp>\n\u003Cul>\n\u003Cli>网络问题\u003C\u002Fli>\n\u003Cli>镜像源失效\u003C\u002Fli>\n\u003Cli>Maven 仓库损坏\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>解决：\u003C\u002Fp>\n\u003Cp>删除本地仓库中对应依赖重新下载：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"D:\\MavenRepository\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>D:\\MavenRepository\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>然后执行：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">bash\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"mvn clean install\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-bash\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">mvn\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> clean\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> install\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Ch1 id=\"%E4%B9%9D%E3%80%81%E6%80%BB%E7%BB%93\" tabindex=\"-1\">\u003Ca class=\"header-anchor header-anchor\" href=\"#%E4%B9%9D%E3%80%81%E6%80%BB%E7%BB%93\" aria-hidden=\"true\">\u003C\u002Fa> 九、总结\u003C\u002Fh1>\n\u003Cp>Maven 安装配置主要分为以下步骤：\u003C\u002Fp>\n\u003Col>\n\u003Cli>下载 Maven\u003C\u002Fli>\n\u003Cli>解压安装\u003C\u002Fli>\n\u003Cli>配置环境变量\u003C\u002Fli>\n\u003Cli>配置本地仓库\u003C\u002Fli>\n\u003Cli>配置阿里云镜像\u003C\u002Fli>\n\u003Cli>配置 IDEA\u003C\u002Fli>\n\u003Cli>验证 Maven 是否安装成功\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>推荐配置：\u003C\u002Fp>\n\u003Cdiv class=\"code-block-wrapper\">\u003Cdiv class=\"code-block-header\">\u003Cspan class=\"code-lang\">latex\u003C\u002Fspan>\u003Cbutton class=\"code-copy-btn\" data-code=\"JDK：21\nMaven：3.9.x\n本地仓库：D:\\MavenRepository\n镜像源：阿里云 Maven\nIDE：IntelliJ IDEA\n\" title=\"复制代码\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"9\" y=\"9\" width=\"13\" height=\"13\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\"\u002F>\u003C\u002Fsvg>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>JDK：21\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>Maven：3.9.x\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>本地仓库：D:\\MavenRepository\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>镜像源：阿里云 Maven\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>IDE：IntelliJ IDEA\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\u003Cp>完成以上配置后，即可进行 Spring Boot、Spring Cloud 等 Java 项目的开发。\u003C\u002Fp>\n",[116,218,244,258],{"id":117,"name":118,"slug":119,"categoryId":38,"category":39,"categoryColor":40,"imageUrl":120,"summary":121,"sortNum":44,"status":44,"viewCount":122,"downloadCount":123,"favoriteCount":47,"likeCount":47,"tutorialCount":48,"videoCount":48,"articles":48,"videos":48,"versions":124,"tags":216},"1","Oracle JDK","oracle-jdk","https:\u002F\u002Fthomas-coding-pub.oss-cn-hangzhou.aliyuncs.com\u002Fimage\u002F7d1a9a87610d4e3090620eb185e7e700.png","JDK（Java Development Kit） 是 Java 开发工具包，包含 Java 编译器、运行环境（JRE）及开发调试工具，用于开发、编译、运行和调试 Java 程序。","877","348",[125,156,176,196],{"id":126,"toolId":117,"versionName":127,"sortNum":44,"status":44,"downloads":128},"2069273158390435842","JDK 8",[129,133,137,141,146,151],{"id":130,"versionId":126,"platform":66,"fileName":131,"diskType":68,"downloadUrl":132,"extractCode":7,"sortNum":4},"2069720852078575617","jdk-8u481-windows-x64.zip","https:\u002F\u002Fpan.quark.cn\u002Fs\u002Fb8debf0651c2",{"id":134,"versionId":126,"platform":66,"fileName":135,"diskType":68,"downloadUrl":136,"extractCode":7,"sortNum":44},"2069720852145684481","jdk-8u481-windows-x64.exe","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F848fc1861ad8",{"id":138,"versionId":126,"platform":72,"fileName":139,"diskType":68,"downloadUrl":140,"extractCode":7,"sortNum":43},"2069720852208599041","jdk-8u481-macosx-x64.dmg","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F281de7205224",{"id":142,"versionId":126,"platform":72,"fileName":143,"diskType":68,"downloadUrl":144,"extractCode":7,"sortNum":145},"2069720852208599042","jdk-8u481-macosx-aarch64.dmg","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F4d090e8be725",3,{"id":147,"versionId":126,"platform":77,"fileName":148,"diskType":68,"downloadUrl":149,"extractCode":7,"sortNum":150},"2069720852275707906","jdk-8u481-linux-x64.tar.gz","https:\u002F\u002Fpan.quark.cn\u002Fs\u002Fafc240fba2ad",4,{"id":152,"versionId":126,"platform":77,"fileName":153,"diskType":68,"downloadUrl":154,"extractCode":7,"sortNum":155},"2069720852347011074","jdk-8u481-linux-aarch64.tar.gz","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F954e4e72acd5",5,{"id":157,"toolId":117,"versionName":158,"sortNum":43,"status":44,"downloads":159},"2069273384677330946","JDK 17",[160,164,168,172],{"id":161,"versionId":157,"platform":66,"fileName":162,"diskType":68,"downloadUrl":163,"extractCode":7,"sortNum":4},"2069729404285403138","jdk-17.0.18_windows-x64_bin.zip","https:\u002F\u002Fpan.quark.cn\u002Fs\u002Fc8e88e77b2a6",{"id":165,"versionId":157,"platform":66,"fileName":166,"diskType":68,"downloadUrl":167,"extractCode":7,"sortNum":44},"2069729404348317697","jdk-17.0.18_windows-x64_bin.exe","https:\u002F\u002Fpan.quark.cn\u002Fs\u002Fb5bc4c28b8d7",{"id":169,"versionId":157,"platform":72,"fileName":170,"diskType":68,"downloadUrl":171,"extractCode":7,"sortNum":43},"2069731221467611137","jdk-17.0.18_macos-x64_bin.dmg","https:\u002F\u002Fpan.quark.cn\u002Fs\u002Fb22af933ebf6",{"id":173,"versionId":157,"platform":77,"fileName":174,"diskType":68,"downloadUrl":175,"extractCode":7,"sortNum":145},"2069732385357611009","jdk-17.0.18_linux-x64_bin.tar.gz","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F6fc4c017c46a",{"id":177,"toolId":117,"versionName":178,"sortNum":145,"status":44,"downloads":179},"2069273273016569858","JDK 21",[180,184,188,192],{"id":181,"versionId":177,"platform":66,"fileName":182,"diskType":68,"downloadUrl":183,"extractCode":7,"sortNum":4},"2069734978028879873","jdk-21_windows-x64_bin.zip","https:\u002F\u002Fpan.quark.cn\u002Fs\u002Ff38a577d7197",{"id":185,"versionId":177,"platform":66,"fileName":186,"diskType":68,"downloadUrl":187,"extractCode":7,"sortNum":44},"2069735173202427905","jdk-21_windows-x64_bin.exe","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F56cbc440349b",{"id":189,"versionId":177,"platform":72,"fileName":190,"diskType":68,"downloadUrl":191,"extractCode":7,"sortNum":43},"2069735486776983554","jdk-21_macos-x64_bin.dmg","https:\u002F\u002Fpan.quark.cn\u002Fs\u002Fb568cf34323a",{"id":193,"versionId":177,"platform":77,"fileName":194,"diskType":68,"downloadUrl":195,"extractCode":7,"sortNum":145},"2069735486969921537","jdk-21_linux-x64_bin.tar.gz","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F5f5d9493453f",{"id":197,"toolId":117,"versionName":198,"sortNum":150,"status":44,"downloads":199},"2069732830494900226","JDK 25",[200,204,208,212],{"id":201,"versionId":197,"platform":66,"fileName":202,"diskType":68,"downloadUrl":203,"extractCode":7,"sortNum":4},"2069736045332447233","jdk-25_windows-x64_bin.zip","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F2993063ca32e",{"id":205,"versionId":197,"platform":66,"fileName":206,"diskType":68,"downloadUrl":207,"extractCode":7,"sortNum":44},"2069736045332447234","jdk-25_windows-x64_bin.exe","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F003fbab1a18e",{"id":209,"versionId":197,"platform":72,"fileName":210,"diskType":68,"downloadUrl":211,"extractCode":7,"sortNum":43},"2069736045399556098","jdk-25_macos-x64_bin.dmg","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F1b2d7a500ea9",{"id":213,"versionId":197,"platform":77,"fileName":214,"diskType":68,"downloadUrl":215,"extractCode":7,"sortNum":145},"2069736045462470658","jdk-25_linux-x64_bin.tar.gz","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F2d2be53f4174",[217],{"id":80,"name":81,"color":82,"sortNum":4,"status":44},{"id":219,"name":220,"slug":221,"categoryId":38,"category":39,"categoryColor":40,"imageUrl":222,"summary":223,"sortNum":155,"status":44,"viewCount":224,"downloadCount":225,"favoriteCount":47,"likeCount":47,"tutorialCount":48,"videoCount":48,"articles":48,"videos":48,"versions":226,"tags":239},"5","Node.js","nodejs","https:\u002F\u002Fthomas-coding-pub.oss-cn-hangzhou.aliyuncs.com\u002Fimage\u002F6a463eb8b03c753d225c6430.png","JavaScript运行环境，前端项目开发必备，内置npm包管理器。","480","89",[227],{"id":228,"toolId":219,"versionName":229,"sortNum":4,"status":44,"downloads":230},"2079549766771159042","Node.js 24",[231,235],{"id":232,"versionId":228,"platform":66,"fileName":233,"diskType":68,"downloadUrl":234,"extractCode":7,"sortNum":4},"2079550010669936642","node-v24.18.0-win-x64.zip","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F1ea5f8a2246a",{"id":236,"versionId":228,"platform":66,"fileName":237,"diskType":68,"downloadUrl":238,"extractCode":7,"sortNum":44},"2079550010992898050","node-v24.18.0-x64.msi","https:\u002F\u002Fpan.quark.cn\u002Fs\u002F713cce9c0478",[240],{"id":241,"name":242,"color":243,"sortNum":4,"status":44},"2066782281264795649","前端开发","#f97316",{"id":245,"name":246,"slug":247,"categoryId":38,"category":39,"categoryColor":40,"imageUrl":248,"summary":249,"sortNum":250,"status":44,"viewCount":251,"downloadCount":47,"favoriteCount":47,"likeCount":47,"tutorialCount":48,"videoCount":48,"articles":48,"videos":48,"versions":252,"tags":253},"2070346756928663553","Tomcat","tomcat","https:\u002F\u002Fthomas-coding-pub.oss-cn-hangzhou.aliyuncs.com\u002Fimage\u002F6a463e86b03c753d225c642b.png","Tomcat 是 Apache 开源的 Java Web 应用服务器，用于部署、运行和管理 Servlet、JSP 及 Java Web 应用程序。",9,"56",[],[254,255],{"id":80,"name":81,"color":82,"sortNum":4,"status":44},{"id":256,"name":257,"color":40,"sortNum":4,"status":44},"2070357524684304386","Web服务器",{"id":259,"name":260,"slug":261,"categoryId":38,"category":39,"categoryColor":40,"imageUrl":262,"summary":263,"sortNum":264,"status":44,"viewCount":265,"downloadCount":47,"favoriteCount":47,"likeCount":47,"tutorialCount":48,"videoCount":48,"articles":48,"videos":48,"versions":266,"tags":267},"9","Open JDK ( Amazon Corretto )","amazon-corretto","https:\u002F\u002Fthomas-coding-pub.oss-cn-hangzhou.aliyuncs.com\u002Fimage\u002Ff0e58c0ccc264c568803999fd7f5e3b2.png","Amazon Corretto 是开放 Java 开发工具包 (OpenJDK) 的免费、多平台、生产就绪型发行版。Corretto 提供长期支持，其中包括性能增强和安全修复。亚马逊在内部的数千种生产服务上运行 Corretto，并且 Corretto 已被证明能够兼容 Java SE 标准。借助 Corretto，您可以在常用操作系统（包括 Linux、Windows 和 macOS）上开发和运行 Java 应用程序。",20,"27",[],[268],{"id":80,"name":81,"color":82,"sortNum":4,"status":44}]