Maven error: index downloads are disabled, search result may be incomplete

This article is reproduced from:

Solution to the problem of index downloads are disabled, search result may be incomplete when Maven imports dependent jar packages

Maven adds the solution of dependency query with no result
to solve the problem

[problem description]

When importing dependent jar packages with maven, an error is reported: index downloads are disabled, search result may be incomplete

Sometimes, even if the error is not reported, the query still does not respond.

[solution]

1. Select Maven in preferences and select “download repository index updates on startup”.

      

2. Open the Maven warehouse.

3. Right click on the global warehouse and select “full index enabled”.

4. After selecting, Maven will download an index file of nearly 100 megabytes. After downloading, it will update the index. The process is relatively long, and it may get stuck. It is recommended not to do anything else during this period.

5. After that, we can search the content in select dependency.

Read More: