一、背景
最近在eclipse中使用svn插件進(jìn)行遠(yuǎn)程倉(cāng)庫(kù)代碼管理時(shí),老是出現(xiàn)提示讓輸入密碼,特別煩人,經(jīng)過(guò)努力,終於解決該問(wèn)題,拿來(lái)和大家分享~
二、svn插件密碼機(jī)制以及出現(xiàn)問(wèn)題的原因分析當(dāng)我們第一次使用svn插件並輸入密碼時(shí),會(huì)生成一個(gè)保存密碼的文件,然後每次svn插件默認(rèn)去讀取用戶名和密碼信息。啟動(dòng)eclipse時(shí),會(huì)自動(dòng)將配置信息讀取到程序緩存中。
svn的密碼修改以後,無(wú)法再次登錄,也沒(méi)有提示重新輸入密碼。這時(shí),我們可以通過(guò)刪除相關(guān)配置文件的方式讓svn插件提示我們重新輸入密碼。但是,eclipse也會(huì)首先讀取緩存文件,當(dāng)你刪除了配置文件之後,eclipse也會(huì)默認(rèn)的讀取緩存中的文件。所以在讀取svn信息時(shí),總是提示輸入用戶名和密碼。
三、解決辦法我們可以通過(guò)兩步走的方式來(lái)解決該問(wèn)題,首先刪除對(duì)應(yīng)的保存svn登錄信息的相關(guān)文件,然後再重新啟動(dòng)eclipse,讓它清除緩存並重新生成。
1.首先現(xiàn)在eclipse中查看我們所使用是什麼SVN 接口? windows > preference > Team > SVN #SVN 接口

2.如果是用的JavaHL, 找到以下目錄並刪除auth目錄下的文件.
win7:C:\Documents and Settings\Administrator\Application Data\Subversion
win10:C:\Users\系統(tǒng)賬戶名\AppData\Roaming\Subversion
3.如果你用的SVNKit, 找到以下目錄並刪除.keyring文件. {eclipse_home}\configuration\org.eclipse.core.runtime
就大工告成,再次重啟eclipse並使用插件會(huì)發(fā)現(xiàn)提示讓重新輸入用戶名密碼,保存之後就不會(huì)讓輸入這些了。
以上是解決eclipse中svn插件總是提示輸入密碼的問(wèn)題的詳細(xì)內(nèi)容。更多資訊請(qǐng)關(guān)注PHP中文網(wǎng)其他相關(guān)文章!

熱AI工具

Undress AI Tool
免費(fèi)脫衣圖片

Undresser.AI Undress
人工智慧驅(qū)動(dòng)的應(yīng)用程序,用於創(chuàng)建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費(fèi)的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1
好用且免費(fèi)的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強(qiáng)大的PHP整合開(kāi)發(fā)環(huán)境

Dreamweaver CS6
視覺(jué)化網(wǎng)頁(yè)開(kāi)發(fā)工具

SublimeText3 Mac版
神級(jí)程式碼編輯軟體(SublimeText3)

installthedeSiredLanguagePackviaSettings→時(shí)間和語(yǔ)言→語(yǔ)言和區(qū)域,確?!?setasmywindowsdisplaylanguage” Isselected.2.changethesystemdisplaylanguageinthesamemenuandrestart.3.opencontrolpanel→opencontrolpanel→區(qū)域→incruptrativetivetab,click offistrativetab,click offistivetab,click offiveTab,click''

ResettheMicrosoftStoreviaSettingsbygoingtoApps>Installedapps,selectingMicrosoftStore,clickingAdvancedoptions,thenRepairandResetifneeded.2.Ifthatfails,re-registertheStoreusingPowerShellasadminwiththecommand:Get-AppXPackage-NameMicrosoft.WindowsStor

在沒(méi)有BootCamp的情況下,Mac上安裝Windows是可行的,並且適用於不同芯片和需求。 1.首先檢查兼容性:M1/M2芯片Mac無(wú)法使用BootCamp,建議使用虛擬化工具;Intel芯片Mac可手動(dòng)創(chuàng)建啟動(dòng)U盤並分區(qū)安裝。 2.推薦M1及以上芯片用戶使用虛擬機(jī)(VM):需準(zhǔn)備WindowsISO文件、虛擬化軟件(如ParallelsDesktop或UTM)、至少64GB空閒空間,並合理分配資源。 3.IntelMac用戶可通過(guò)啟動(dòng)U盤手動(dòng)安裝:需USB驅(qū)動(dòng)器、WindowsISO、DiskU

toresolvenetwork ConnectivityIssuesInWindows,resetThetCP/ipStackByFirStopeningCommandPromptasAdministrator,ThenRunningTheCommandNetnetShintipReset,andfinallyRestArtingYourComputTingYourComputertotertoertoApplychanges;

基於forintel的macs,usebootcampassanttocreateadual-bootsystemwithwindowsbypreparingausbdrive,下載ingingingawindowsiso,partitioningthedisk,andInstallingwindowsalongsAlongSideMacoSwithSuportDrivers.2.forapplesiliconmacs(forapplesiliconmacs)

DownloadtheWindowsISOfromMicrosoft’sofficialsite.2.CreateabootableUSBusingMediaCreationToolorRufuswithaUSBdriveofatleast8GB.3.BootfromtheUSBbyaccessingthebootmenuoradjustingBIOS/UEFIsettings.4.InstallWindowsbyselectingcustominstallation,choosingtheco

EnableAppLockerviaGroupPolicybyopeninggpedit.msc,navigatingtoApplicationControlPolicies,creatingdefaultrules,andconfiguringruletypes;2.Createcustomrulesusingpublisher,path,orhashconditions,preferringpublisherrulesforsecurityandflexibility;3.Testrules

選擇“ custom:stermintwindowsonly(高級(jí))” forfullcontrol,asitallowsacleanInstallthatRemovesoldissOldissuesuseSuseSuseSuseSuseSuseSuseSperizesPerformance.2.duringSetup,ManagePartitionSbyDeletingOldingOndones(後面的backingupdata),創(chuàng)建NeweWpartitions,freenneNewPartitions,F(xiàn)ormatitions,F(xiàn)ormatting(Formatting)(formatting(formatting)(forntfs)(使用nttfs)
