Repositories indexing giving error in IntelliJ IDEA

I just moved to IntelliJ IDEA community and I’m having the errors when using it with gradle:

java.lang.RuntimeException: Resource does not exist

for both repositories:

The repositories work (the jars are downloaded) but that error is always showing so I would like to know if anyone has already passed by that and has a solution :wink: