打开IDEA,点击File—>Settings
然后按下图设置,找到你的maven配置
IDEA配置maven home directory
原文:https://www.cnblogs.com/lixuze/p/14222564.html