Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ 2017.2 stuck on `Loading archetype list` for `New Project` > `Maven`

When choosing the Create New Project option after launching IntelliJ 2017.2, I get this endlessly spinning wheel on the Maven tag, saying “Loading archetype list…”.

screen shot of New Project wizard panel

Any way to get to a Maven archetype?

like image 235
Basil Bourque Avatar asked Jul 28 '17 05:07

Basil Bourque


People also ask

How do I change my Maven archetype in IntelliJ?

Launch the New Project wizard. If no project is currently opened in IntelliJ IDEA, click New Project on the welcome screen. Otherwise, select File | New | Project from the main menu. Select Maven Archetype from the options on the left.

What archetype should I choose for Maven project?

If you want a web application, use maven-archetype-webapp, or if you want a simple application use maven-archetype-quickstart. They are useful because you will be able to expand them with no problem. Note that this is in the Eclipse plugin by default (at least it is today).

What is archetype while creating Maven project?

In short, Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The name fits as we are trying to provide a system that provides a consistent means of generating Maven projects.


1 Answers

I just hit this on 2017.2.3 (just updated now) on Fedora 24 (oops time to upgrade)

The immediate solution was to change the Maven settings (File > Settings > Maven) to use my on-machine Oracle JDK 1.8.0_144 instead the default "internal JRE" 1.8.0_152. Btw, the importer uses JVM option -Xmx768m by default.

enter image description here

And we go on...

like image 146
David Tonhofer Avatar answered Sep 25 '22 14:09

David Tonhofer