我是靠谱客的博主 发嗲糖豆,这篇文章主要介绍idea创建maven项目时一直显示“Loading archetype list ”,现在分享给大家,希望可以做个参考。

通过在网上查找,得到两种解决方案:

  1. maven的JRE运行时内存溢出,解决方案为加大JVM的可用内存,具体操作为:
    File → Settings → Build, Execution, Deployment → Build Tools → Maven → Importing_Build Tools → Maven → Importing选项下,设置VM options for importer-Xmx1024m(默认值-Xmx512m太小了)。

  2. 删除{User_Home}/.IntelliJIdea{Version}/system/Maven/Indices下面的文件,然后重启idea。

尝试这两种解决方案,最终通过2这种方式解决了此问题。

参考资料:

  1. IntelliJ new project - maven archetype list empty
  2. Create a Maven project in Intellij IDEA 12 but alway in the “Loading archetype list ”page

最后

以上就是发嗲糖豆最近收集整理的关于idea创建maven项目时一直显示“Loading archetype list ”的全部内容,更多相关idea创建maven项目时一直显示“Loading内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(169)

评论列表共有 0 条评论

立即
投稿
返回
顶部