You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

IntelliJ 2022.3如何将Maven设为Spring Initializr默认构建工具

如何修改IntelliJ IDEA 2022.3中Spring Initializr的默认构建工具为Maven

有两种方式可以修改默认设置:

方式一:通过全局设置修改

  • 打开IntelliJ IDEA,进入设置界面(Windows/Linux:File > Settings;Mac:IntelliJ IDEA > Settings)
  • 在左侧导航栏依次展开 Build, Execution, Deployment > Build Tools > Maven > Spring Initializr
  • 在右侧面板的Default build system下拉菜单中,选择Maven
  • 点击Apply和OK保存更改,之后新建Spring Boot项目时就会默认使用Maven作为构建工具

方式二:新建项目时保存默认配置

  • 打开新建项目界面,选择Spring Initializr
  • 在项目配置面板中,将Build system切换为Maven
  • 点击界面左下角的Save as default按钮,确认后退出
  • 下次再创建Spring Boot项目,构建工具就会默认选中Maven

内容的提问来源于stack exchange,提问作者Plaul

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.03 07:41:23