##方法一:
1.在建立项目时设置其Properties (我大多在建立项目时 就解决这个问题)
建立项目的时候,在Properties属性面板中添加一项:archetypeCatalog = internal便可。html
```网络
archetypeCatalog
internalide
```ui
2.设置IDEA的Maven配置
直接按下快捷键:Ctrl+Alt+S便可打开IDEA设置面板,依次选择Build->Build Tools->Maven->Runner->定位到VM Options输入框idea
填写上:-DarchetypeCatalog=internal 便可,可选值为:remote,internal ,local等,用来指定archetype-catalog.xml文件从哪里获取。spa
默认使用remote,即从远程网络加载因此很是慢,这也是以前卡在这里的缘由。xml
转自:https://www.jianshu.com/p/c6484f79beb9htm
<br>