Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Unindexed maven repositories error in IntelliJ IDEA 2016.1.3

I'm getting the following error when i try to build my project after adding org.springframework dependency:

Unindexed remote maven repositories found. Disable... The following repositories used in your gradle projects were not indexed yet: http://repo1.maven.org/maven2 If you want to use dependency completion for these repositories artifacts, Open Repositories List, select required repositories and press "Update" button (show balloon)

I tried updating this repository but that resulted in an error.

Joseph Arnone
Joseph Arnone
2,539 Points

I'm having the same problem and couldn't find an answer either.

1 Answer

Robert McNeil
Robert McNeil
6,466 Points

I had a similar issue. It required updating the maven repo.

File > Settings

Build, Execution, Deployment > Build Tools > Maven > Repositories

Look for a date under updated. It may be blank for the http://repo1.maven.org/maven2 repo

select the repo and click update. It will take a few minutes but it will likely clear your issue if it was the same as mine.