skip to content »

ec-clan.ru

Eclipse updating indexes disabled

eclipse updating indexes disabled-55

You can see I was searching for spring framework Java but there is no search result, in fact it was saying artifact id cannot be empty.

eclipse updating indexes disabled-42eclipse updating indexes disabled-87eclipse updating indexes disabled-11eclipse updating indexes disabled-61

Problem is fixed now, you can see that Eclipse is now able to search dependency from Maven repository.That's why you need to check the option "Download repository Index updates on startup".If this option is enabled then Eclipse will download repository index from configured location e.g.Usually after enabling those option and restarting eclipse, it will start updating index and once it finished, you would be able to search and add artificats into your Maven Repositories .It will show you all kind of maven repositories e.g.Main problem here is that Eclipse is not able to search for dependencies when you enter some keyword in search box.

This screenshot is immediately after restarting Eclipse, you can see that at bottom right corner it showing as Updating index, which is the proof that it's now downloading index file.

The workspace settings are found in Indexer settings with disabled heuristics and using active build configuration " data-medium-file="https://mcuoneclipse.files.wordpress.com/2012/03/indexer-settings.png? w=272" data-large-file="https://mcuoneclipse.files.wordpress.com/2012/03/indexer-settings.png? w=584&h=643" alt="Indexer settings with disabled heuristics and using active build configuration" width="584" height="643" srcset="https://mcuoneclipse.files.wordpress.com/2012/03/indexer-settings.png? w=446" class="size-full wp-image-1106" title="Fixed Indexer: showing macro correctly" src="https://mcuoneclipse.files.wordpress.com/2012/03/indexer-fixed.png?

w=584&h=643 584w, https://mcuoneclipse.files.wordpress.com/2012/03/indexer-settings.png? w=136&h=150 136w, https://mcuoneclipse.files.wordpress.com/2012/03/indexer-settings.png? w=272&h=300 272w, https://mcuoneclipse.files.wordpress.com/2012/03/688w" sizes="(max-width: 584px) 100vw, 584px" /Fixed Indexer: showing macro correctly " data-medium-file="https://mcuoneclipse.files.wordpress.com/2012/03/indexer-fixed.png? w=300" data-large-file="https://mcuoneclipse.files.wordpress.com/2012/03/indexer-fixed.png? w=584" alt="Fixed Indexer: showing macro correctly" srcset="https://mcuoneclipse.files.wordpress.com/2012/03/446w, https://mcuoneclipse.files.wordpress.com/2012/03/indexer-fixed.png?

button, this will open another dialog box with a search bar to search artifacts.

If you know the artifact id and group id you can directly add any dependency but most of us doesn't remember that, what we do is search for that artifact or JAR by typing e.g.

I was surprised because I have never faced this issue while I was using M2Eclipse plugin from long time.