当前位置:   article > 正文

解决eclipse连接GIT问题_java: 无法访问org.eclipse.jgit.api.git 错误的类文件: /d:/rep

java: 无法访问org.eclipse.jgit.api.git 错误的类文件: /d:/repositorys/org/ecl


        参考:https://blog.csdn.net/royal__moon/article/details/79427431

          记得重启eclipse;     

具体错误信息:

org.eclipse.jgit.api.errors.TransportException: https://github.com/uuidsjd/jindongwar.git: cannot open git-upload-pack
 at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:196)
 at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
 at org.eclipse.egit.ui.internal.components.RefSpecPage$3.run(RefSpecPage.java:250)
 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.jgit.errors.TransportException: https://github.com/uuidsjd/jindongwar.git: cannot open git-upload-pack
 at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:521)
 at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)
 at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:175)
 ... 3 more
Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version
 at sun.security.ssl.Alerts.getSSLException(Unknown Source)
 at sun.security.ssl.Alerts.getSSLException(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
 at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
 at java.net.HttpURLConnection.getResponseCode(Unknown Source)
 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
 at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:98)
 at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:168)
 at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:475)
 ... 5 more

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/249036
推荐阅读
相关标签
  

闽ICP备14008679号