打开项目,进入工程,点击左上角的 File->Other Settings-> Settings for New Projects,如下图: 设置 maven 配置,如下图 最后,点击 Apply 或 OK 即可。 相关文章: