Error indexing maven repository

Dear members,
I'm running Idea 12.1.6 build 129.1359 on macbook osx 10.7.5 lion.
There's some strange error which is happening only on my macbook when I import a maven project idea is not able to find maven dependencies and when I go to the repositories section under Maven and click on update on local/remote repositories it gives an error "Connection refused". Please view the screenshot attached. Any help is appreciated.

Screen Shot 2013-11-01 at 09.43.29.png

Thanks,
Ahmed



Attachment(s):
Screen Shot 2013-11-01 at 09.43.29.png
6 comments

Hi Sergey,
Log file attached.

Thanks,
Ahmed



Attachment(s):
idea.log.zip
0

Try to clean /Users/khana/Library/Caches/IntelliJIdea12/Maven

0

Deleted both Projects and Indices folder under
/Users/khana/Library/Caches/IntelliJIdea12/Maven
but still same, please find new log attached.



Attachment(s):
idea.log.zip
0

May be your local repository contains corrupted jar. This may help to find corrupted jars in the local repository:http://robbypelssers.blogspot.com/2010/07/finding-corrupt-jars-in-maven.html

0

No corrupt jars.

iham12645:.m2 khana$ cd repository/

iham12645:repository khana$ find . -name "*jar" | xargs -L 1 zip -T | grep error | grep invalid

iham12645:repository khana$

0

Please sign in to leave a comment.