国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
Maven Eclipse插件無法搜索遠(yuǎn)程庫的解決方法

Maven Eclipse插件無法搜索遠(yuǎn)程庫的解決方法

使用Eclipse安裝了maven插件之后,創(chuàng)建Maven工程,發(fā)現(xiàn)添加依賴“Add Dependency”的時候無法自動搜索遠(yuǎn)程庫。
如果不能搜索遠(yuǎn)程庫那用這個插件有啥用撒。。。
查遍了所有的maven配置文件都沒發(fā)現(xiàn)問題。
最后發(fā)現(xiàn)是插件本身的問題。原因是遠(yuǎn)程庫的索引沒有成功的建立。
很有可能安裝插件之后的某一次“Update Indexes”失敗之后,導(dǎo)致默認(rèn)的index“http://repo1.maven.org/maven2/”無法繼續(xù)更新。所以每次都會報(bào)錯: Unable to update index for central http ://repo1 .maven .org /maven2 / 。
也就說一次更新失敗導(dǎo)致了以后的Update index都失敗了。
這個時候執(zhí)行以下操作:
http://readthefuckingmanual.net/error/2394/
Do in eclipse: window->show view->other->maven->maven indexes. One of the indexes is:
http://repo1.maven.org/maven2.
right-click on this one, and try rebuild index.
If that does not work, create a new index with the same address, and do a rebuild of that. With me that worked, and I could remove the original one. After this a restart of eclipse will NOT show the error anymore, and the add dependency search function operates as it should. Problem solved.
另外,參考 http://forum.springside.org.cn/redirect.php?tid=2876&goto=lastpost,可以獲得加快索引建立的方法。
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
Maven鏡像
Eclipse創(chuàng)建maven項(xiàng)目時,出現(xiàn)Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources錯
Eclipse3.7 低版本 安裝Maven插件Maven Integration for Eclipse
只用一招,讓你的Maven依賴下載速度快如閃電
maven 遠(yuǎn)程倉庫
學(xué)習(xí)maven的各種問題
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服