You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Archetype Designer创建首个模板时无法选择Root Archetype Id的问题咨询

Troubleshooting Missing Root Archetype Id Options When Creating Your First Template

Let me walk through the most common fixes for this issue— I’ve run into this exact problem when setting up new templates too:

  • Check your archetype catalog synchronization
    If you’re using Maven (a common tool for template/archetype workflows), your local archetype catalog might be outdated or not populated. Run this command in your terminal to refresh and crawl available archetypes:
    mvn archetype:crawl
    In IDEs like IntelliJ or Eclipse, you can also manually add the default Maven Central catalog in the archetype selection settings to pull in the full list of available options.

  • Verify your project setup flow
    Sometimes skipping a critical initial step can break the archetype list. Make sure you’re starting from the correct context: for example, if you’re creating a template tied to an existing project, ensure you’ve properly linked the project in your tool first. Double-check that you didn’t skip prompts for selecting a project type or module before getting to the Root Archetype Id step.

  • Rule out network/proxy issues
    If your tool pulls archetype options from remote repositories (like Maven Central), a flaky network or incorrect proxy settings can prevent the list from loading. Try switching to a stable network, or check your IDE/terminal’s proxy configuration to ensure it can reach external repositories without blocks.

  • Try manually entering an archetype as a workaround
    If the list still won’t load, you can bypass the dropdown by manually entering a valid archetype coordinate. For example, the Maven Quickstart archetype (a common starting point) uses:
    org.apache.maven.archetypes:maven-archetype-quickstart:1.4
    This should let you proceed with creating your template while you troubleshoot the underlying loading issue.

内容的提问来源于stack exchange,提问作者Tobias Haraldsson

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.01 00:04:07