Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven not showing up in Eclipse (Kepler) even after m2e install

I've seen that others have had this problem where Maven doesn't show up for them in Eclipse after installing the m2e plugin, but most of the solutions seem to suggest doing something like "Configure>Convert to Maven." But Maven is not showing up for me in the Configure list, nor is it showing up in Console>Open Console or the File>New list. I see some solutions refer to editing the project's classpath, but I don't have a clear understanding of how to do that. I'm trying to begin working through a book on Java EE7, and it uses Maven in the examples. Can someone help?

like image 643
Kyle Walker Avatar asked Sep 08 '13 19:09

Kyle Walker


People also ask

How do I know if Maven is installed in Eclipse?

To check maven is configured properly: Open Eclipse and click on Windows -> Preferences. Choose Maven from left panel, and select installations. Click on Maven -> "User Settings" option form left panel, to check local repository location.

Is Maven inbuilt in Eclipse?

Most Eclipse IDE downloads already include support for the Maven build system. To check, use Help About and check if you can see the Maven logo (with the M2E ) sign.

How do I get Maven in Eclipse?

#1) From the top menu of Eclipse select Help -> Install new Software, and the following window will open. #2) Click on the Add button highlighted in the above image. An add repository dialogue box will open, enter the following in the two text fields of this box. Click on the Add button.

Do we need to install Maven separately for Eclipse?

You can Launch Maven builds from within Eclipse. It does the dependency management for Eclipse build path based on Maven's pom. xml. It resolves Maven dependencies from the Eclipse workspace without installing to local Maven repository (requires dependency project be in same workspace).


1 Answers

Check the .log file in the .metadata folder in your workspace folder. Delete the .log file and then restart Eclipse using the -clean option. If maven doesn't appear in the UI the look at the .log file for hints of why maven couldn't be loaded.

like image 66
Chris Gerken Avatar answered Oct 22 '22 06:10

Chris Gerken