Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » I can't create a new Maven project.(After an installation, File->New->Maven Project doesn't work as expected..)
I can't create a new Maven project. [message #1855070] Tue, 27 September 2022 14:28 Go to next message
Earl Harris is currently offline Earl HarrisFriend
Messages: 8
Registered: August 2013
Junior Member
I decided to reinstall Eclipse, because I was having trouble creating Maven archetypes while creating a Maven project.

I went to https://www.eclipse.org/downloads/

I clicked on "Download x86-64".

I downloaded the image.

I double-clicked "eclipse-inst-jre-mac64.dmg".

I dragged and dropped "Eclipse Installer" into Applications.

I went to Applications and double-clicked "Eclipse."

I launched into my workspace.

When I selected File->New->Maven Project, nothing happened.
When I selected File->New->Other ..., I got the dialog box.
When I selected Maven Project, I saw a blank "New Maven Project" dialog box.
(In previous installation tries, I would get an error message: "Cannot invoke "org.eclipse.m2e.core.ui.internal.archetype.ArchetypePlugin.getActiveArchetypeCatalogs()" because "archetypeManager" is null")

When I click "Next >," nothing happens.
I can create a standard Java project that uses Ant.
Re: I can't create a new Maven project. [message #1855071 is a reply to message #1855070] Tue, 27 September 2022 14:58 Go to previous messageGo to next message
Earl Harris is currently offline Earl HarrisFriend
Messages: 8
Registered: August 2013
Junior Member
I running on an Intel MacBook air with macoS Monterey 12.6.
Re: I can't create a new Maven project. [message #1855101 is a reply to message #1855071] Wed, 28 September 2022 15:05 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
There are quite a few changes in m2e for the latest release.

You can ask a question specifically about m2e here:

https://github.com/eclipse-m2e/m2e-core/discussions

And you can open an m2e issue issue here:

https://github.com/eclipse-m2e/m2e-core/issues


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: I can't create a new Maven project. [message #1855118 is a reply to message #1855101] Thu, 29 September 2022 07:45 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Another thing I noticed today is that this might be caused by duplicate/inconsistent -Dosgi.requiredJavaVersion options like this
-Dosgi.requiredJavaVersion=17
...
-Dosgi.requiredJavaVersion=11

If the one for Java 11 is last, I think anything requiring Java 17 willl be disabled. Edit the file to remove -Dosgi.requiredJavaVersion=11.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:After installing eclipse-java-2022-09 I cannot create Maven project using archetype
Next Topic:java programming language
Goto Forum:
  


Current Time: Tue Apr 23 14:24:16 GMT 2024

Powered by FUDForum. Page generated in 0.04042 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top