創建maven項目卡死 解決辦法

以Intellij爲例,解決辦法如下圖所示: 在Properties中添加一個參數archetypeCatalog=internal。 其中: archetypeCatalog表示插件使用的archetype元數據,不加這個參數時默認爲remote,local,即中央倉庫archetype元數據。由於中央倉庫的archetype太多了,所以導致很慢,指定internal來表示僅使用內部元數據。
相關文章
相關標籤/搜索