My first hunch was that Eclipse might not able to connect to Internet, and to verify that I tried connecting Eclipse market place, and boom it was working fine.Then I quickly checked Maven settings in Eclipse and found that the option which is required to download and build the index was not turned on. To give you some background about how Eclipse search dependency on Maven remote repository, be it default Maven central or internal Nexus repository.By the way, this error has nothing to do with Eclipse Luna.I received emails from my readers that some of them not able to add dependency in Maven project even in older versions of Eclipse e.g. It is totally due to absent of artifact index file.We moved issue tracking for this project to https://github.com/spring-projects/spring-ide .Recently I face an strange issue while using Maven in Eclipse via M2Eclipse plugin.Simple External Type From(Simple External Type Indexer.java:73) at org.eclipse.commons.completions.externaltype.
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.
That's why you need to check the option "Download repository Index updates on startup".