0
我試圖做一個maven版本的spring-cloud-config。在JGitEnvironmentRepositoryTests類中的所有測試都具有以下異常堆棧跟蹤失敗:不能做一個maven版本的spring-cloud-config
java.lang.IllegalStateException: Cannot clone repository
.
.
Caused by: org.eclipse.jgit.api.errors.TransportException: [email protected]:/Users/juancarlos/Documents/eclipse/spring-cloud-config/spring-cloud-config-server/target/test-classes/config-repo: Connection refused
我的SSH密鑰中的.ssh文件夾正確配置,因爲我與github上對它們進行測試和工作正常。
您的maven的settings.xml配置到您的存儲庫位置? – VinayVeluri 2014-09-25 11:20:06
@VinayVeluri請問,你能解釋一下你的問題嗎? Maven在我的機器上工作正常。該問題與用於在目標文件夾下測試的git repo有關。謝謝你的幫助。 – 2014-09-25 15:40:08