================= 在IDEA中使用Maven ================= IDEA File Settings... Build Build Tools Maven Maven home path:C:\Maven\apache-maven-3.8.4 User settings file:C:\Maven\apache-maven-3.8.4\conf\settings.xml Local repository:C:\Maven\repo 事实上IDEA本身是自带Maven的,不建议使用高于该版本的Maven。 Maven home path:Bundled (Maven 3) 但settings文件和本地仓库不一定非用默认的。