1

我使用Spring Tools Suite。尝试克隆 Git 存储库时出现以下错误。

这是我在 IDE 中使用的命令:导入 -> 来自 Git 的项目 -> 克隆 URI。

我已经尝试了多次,但一直收到同样的错误。谁能建议我需要做什么?

Caused by: org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected
    at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:263)
    at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:222)
    at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:183)
    at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
    at org.eclipse.jgit.util.io.UnionInputStream.read(UnionInputStream.java:116)
    at java.io.FilterInputStream.read(Unknown Source)
    at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:90)
    at org.eclipse.jgit.transport.SideBandInputStream.read(SideBandInputStream.java:109)
    at org.eclipse.jgit.transport.PackParser.fill(PackParser.java:1228)
    at org.eclipse.jgit.transport.PackParser$InflaterStream.read(PackParser.java:1784)
    at java.io.InputStream.read(Unknown Source)
    at org.eclipse.jgit.transport.PackParser.whole(PackParser.java:1056)
    at org.eclipse.jgit.transport.PackParser.indexOneObject(PackParser.java:980)
    at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:535)
    at org.eclipse.jgit.internal.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:168)
    at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:496)
    at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:790)
    at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:365)
    ... 15 more
4

0 回答 0