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

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

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

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

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

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

解決方案出處:https://stackoverflow.com/questions/37749785/eclipse-maven-m2e-doesnt-search-or-download-from-central

markkwsu

markkwsu

Add comment