摘自:https://www.cnblogs.com/yeya/p/10314358.html
针对每次创建maven项目时加载过慢,甚至加载不出来,主要原因是创建maven项目时默认是下载求网络上的一个文件archetype-catalog.xml,下载过慢。

方法一:

创建项目时:
添加:
name:archetypeCatalog
value: internal
解决idea创建maven项目慢的问题

方法二:

搜索maven,点击Runner一栏,在VM Options输入框里写上 “-DarchetypeCatalog=local”,
解决idea创建maven项目慢的问题

确定后,再新建maven项目,就能发现项目很快就创建完成。
也可以打开idea的启动界面,进入全局设置(不用每次创建项目时都设置,一劳永逸)
解决idea创建maven项目慢的问题

相关文章: