MyEclipse - Retrieving archetypes: has encountered a problem An internal error occurred during

襲冷發表於2018-08-27

一、異常彈框

    Retrieving archetypes: has encountered a problem
    An internal error occurred during:"Retrieving archetypes:"

二、解決辦法

    1. 首先去maven官網下載http://repo1.maven.org/maven2/archetype-catalog.xml檔案。 

    2. 在eclipse點選windows->preferences->Maven->archetypes-->Add Local Catalog...

    3、在Catalog File中選擇下載的archetype-catalog.xml檔案,並填寫Description為Local-Catalogs,點選Ok

    4、取消Nexus Indexer 和 Default Local的選中,點選Apply和Apply and Close,重啟Eclipse

    5. 再次建立maven專案,Catalog選擇模版較少的Internal或者更全面的Local-Catalogs即可

 

 

 

相關文章