最近买了台华硕天选电脑(窃喜中),然后用最新的eclipse创建maven工程的时候,一直出现No archetypes currently available. The archetype list will refresh when the indexes finish updating.的提示,导致无法创建maven工程,或者出现如下图所示

No archetypes currently available. The archetype list will refresh when the indexes finish updating.

一直处于Select an Archetype状态,加载时间特别长,昨晚加载一晚上才好,晚上回来之后又挂掉,

在网上百度了一下,maven需要加载archetype-catalog.xml文件,

回想之前老电脑创建工程的时候,不会出现这种现象所以特意看了以前的电脑上创建maven时Archetypes配置,发现和2020-03的eclipse少了一项

No archetypes currently available. The archetype list will refresh when the indexes finish updating.

eclipse 2020-03版本

No archetypes currently available. The archetype list will refresh when the indexes finish updating.

eclipse2018-12版本

设置之后可以顺利创建工程,通过切换可以知道,只选择Internal选项就可以创建maven了,完美解决

相关文章: