1.因爲默認狀況下,根據archetype建立maven項目會從網絡下載catalog文件,致使建立maven項目緩慢html
Searching for remote catalog: http://repo1.maven.org/maven2/archetype-catalog.xml
2.解決辦法能夠設置使用本地catalog文件,在IDEA中設置archetype的使用方式爲local;apache
-DarchetypeCatalog=local
2.1 從here下載catalog文件保存到本地。網絡
2.2根據 官網介紹,把下載的文件放到%userprofile%/.m2目錄下便可。maven