您好,登錄后才能下訂單哦!
在 Archiva 安裝成功后運行的時候出現協議版本錯誤:
Caused?by:?javax.net.ssl.SSLException:?Received?fatal?alert:?protocol_version ????????at?sun.security.ssl.Alerts.getSSLException(Alerts.java:208)?~[?:1.7.0_80] ????????at?sun.security.ssl.Alerts.getSSLException(Alerts.java:154)?~[?:1.7.0_80] ????????at?sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)?~[?:1.7.0_80] ????????at?sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)?~[?:1.7.0_80] ????????at?sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)?~[?:1.7.0_80] ????????at?sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)?~[?:1.7.0_80] ????????at?sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)?~[?:1.7.0_80] ????????at?org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)?~[httpclient-4.5.2.jar:4.5.2] ????????at?org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:832)?~[wagon-http-2.9.jar:2.9] ????????at?org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:983)?~[wagon-http-2.9.jar:2.9] ????????...?19?more
如果你在安裝 Archiva 2.2.3 后嘗試添加遠程倉庫。
但是遠程倉庫不能同步數據到你的本地倉庫中, 同時服務器上有上面的錯誤。但是 Archiva 的安裝和運行是沒有問題的。
這個情況你需要檢查你 JDK 的版本,如果你運行的是 JDK 1.7 的話,嘗試運行 JDK 1.8。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。