Why doesn't the option to rebuild Maven index show up when right-clicking central in Eclipse?

233 Views Asked by At

Recently, I've been working on a maven project in eclipse. When I try to search dependencies to add in the pom.xml, nothing shows up. So, I went online and saw that a solution was to rebuild the index by expanding Global Repositories and right-clicking central. However, when I right click central, I don't get the option to rebuild the index: (https://i.stack.imgur.com/Z2Ne4.png).

I've already tried restarting eclipse, but it still doesn't work.

1

There are 1 best solutions below

1
zekarias On

I have tried most of the fixes but the only thing that worked for me is using 'eclipse IDE for java developers' instead of 'Eclipse IDE for Enterprise Java and Web Developers'.