Maven “Unable to set the index details due to the following error: read past EOF”

在 Mac 上面如果清了暫存檔案(我猜有很大的可能是透過 Dr. Cleaner),會碰上這個問題。

這時候只需要將當前 Eclipse 開啟的 workspace,其底下的這個目錄:

<your workspace>/.metadata/.plugins/org.eclipse.m2e.core/nexus

刪除,然後再啟動 Eclipse 進行 Maven Repository re-index 即可恢復正常。


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.