Bambonghore Tekno | Cara Mengatasi Error Create Project Maven “Could not resolve archetype from any of the configured repositories”

Posted on 1,504 views

Pada saat membuat project maven di Eclipse menggunakan artifak “maven-archetype-webapp”  kadang kita menemukan error yang bunyinya “Could not resolve archetype from any of the configured repositories” seperti ditunjukan pada gambar dibawah ini.

error maven "Could not resolve archetype from any of the configured repositories"

error maven "Could not resolve archetype from any of the configured repositories"

dan berikut detail errornya “Creating maven-archetype-webapp has encountered a problem”.

error maven "Could not resolve archetype from any of the configured repositories"

Untuk mengatasinya engkau dapat mengikuti langkah-langkah berikut.

1. Menambahkan archetype-catalog pada IDE engkau , download dulu filenya pada bawah ini.

Archetype-Catalog.Xml

2. Kemudian balik ke Eclipse, klik window — Preferences

error maven "Could not resolve archetype from any of the configured repositories"

tiga. Klik hidangan Maven — Archetypes — Add Local Catalog

error maven "Could not resolve archetype from any of the configured repositories"

4. Browse file XML yg sudah pada download (archetype-catalog.Xml), klik OK

error maven "Could not resolve archetype from any of the configured repositories"

lima. Pilih Apply and Close

error maven "Could not resolve archetype from any of the configured repositories"

Sekarang bisa dicoba ulang buat project maven-webapp lagi, ikuti langkah-langkah berikut.

1. Buat Project Maven seperti biasa

error maven "Could not resolve archetype from any of the configured repositories"

2. Klik Next

error maven "Could not resolve archetype from any of the configured repositories"

3. Klik Next

error maven "Could not resolve archetype from any of the configured repositories"

4. Klik Finish

error maven "Could not resolve archetype from any of the configured repositories"

lima. Project Kamu berhasil dibuat

error maven "Could not resolve archetype from any of the configured repositories"

error maven "Could not resolve archetype from any of the configured repositories"

Sekian artikel kali ini.

Semoga berguna.

 

Dilansir dari google, bing dan berbagai web lainnya, berikut kami merangkum artikel Cara Mengatasi Error Create Project Maven “Could not resolve archetype from any of the configured repositories”, semoga informasi ini bermanfaat.


Leave a Reply

Your email address will not be published. Required fields are marked *

1 × 2 =