Maven報錯#Could not transfer artifact (https:repo.maven.apache.org/maven2):Received fatal alert:procol
Maven構建專案報錯:Could not transfer artifact https:repo.maven.apache.org/maven2:Received fatal alert:protocol_version->[Help 1]
RT
最初以為是本地網路狀態不好,在確認網路良好的情況下構建專案,多次maven-install後,依然報這個錯。只能求助度娘,試了幾種方法都用不了,最好才找到原因:中央倉庫必須要TLS1.2版本才能訪問,有兩種解決方法:
一、將JDK版本升級到jdk1.8,因為在1.8及以上版本,才會預設使用TLS1.2。
二、maven的配置檔案setting.xml中設定為阿里雲私服,設定方式可在度娘裡查。
相關推薦
Maven報錯#Could not transfer artifact (https:repo.maven.apache.org/maven2):Received fatal alert:procol
Maven構建專案報錯:Could not transfer artifact https:repo.maven.apache.org/maven2:Received fatal alert:protocol_version->[Help 1] RT 最初以為是本地網路狀態不好
windows環境pip安裝時一直報錯Could not fetch URL https://pypi.org/simple/xrld/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=
最近專案不忙了~~有開始專研的python大業,上來想用pip安裝一個第三方的庫,就一直報錯: Could not fetch URL https://pypi.org/simple/xrld/: There was a problem confirming the ssl certificate:
Maven 報:Could not find artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3
前些時候我學習Maven,我遇到了以下兩個錯誤(該死的這兩個錯誤,讓我浪費了四天時間): 1、Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the conf
【原創】經驗分享(10)Could not transfer artifact org.apache.maven:maven. from/to central. Received fatal alert: protocol_version
maven編譯工程報錯 [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:add-source (scala-compile-first) on project trade: Execution sca
Eclipse中Maven新建web專案報錯Could not calculate build plan:Plugin org.apache.maven.plugins...
今天用maven新建了一個web專案,但是一直報了這個錯,如下圖,點OK之後的pom檔案還是同樣的錯,找了下資料,報錯消失: 修改pom檔案中的build標籤如下: <build>
maven+ssm啟動Tomcat報錯 Could not publish to the server. java.lang.IndexOutOfBoundsException 解決辦法
1找到你maven安裝目錄D:\studys\apache-maven-3.5.3-bin\apache-maven-3.5.3\conf找到settings.xml開啟2,新增這段程式碼<mirror> <id>alimaven</id&
解決Sqoop報錯Could not load db driver class: com.intersys.jdbc.CacheDriver
cti writer cman sql make time nec generate ava 報錯棧: 17/06/16 17:46:01 INFO tool.CodeGenTool: Beginning code generation 17/06/16 17:46
iis配置問題報錯 -- Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies
could not ans 程序 sys logs info req exc 方案 具體提示: Could not load file or assembly ‘Oracle.DataAccess‘ or one of its dependencies. 試圖加載格
記一次django的詭異報錯 Could not parse the remainder: '=' from '='
django python 如題,一個展示日誌的功能,調用該模板文件時報錯,Could not parse the remainder: ‘=‘ from ‘=‘。這行模板語言在上面出現過同樣的,僅僅是改了‘<=‘右端的整數大小,而且該有的標簽也不少。百般思考無解,stackoverflow和百
ionic真機調試Android報錯 - could not read ok from ADB Server * failed to start daemon * error: cannot connect to daemon
找到 管理器 and nic sid ask err span adb 在使用真機調試Android程序時,報錯如下: could not read ok from ADB Server * failed to start daemon error: cannot con
ReactNative安卓端報錯Could not find play-services-basement.aar
這兩天同事在寫專案的過程中,啟動Android端進行編譯報瞭如上的錯誤,從報錯中可以知道,是因為第三方庫react-native-device-info引起的,從其原始碼中可以看到: 它的安卓部分依賴了google的服務,為啥要依賴這個服務呢?不是特別清楚。既然罪魁禍首是這個庫,就去gi
windows系統上執行spark、hadoop報錯Could not locate executable null\bin\winutils.exe in the Hadoop binaries
1.下載 winutils.exe:https://download.csdn.net/download/u010020897/10745623 2.將此檔案放置在某個目錄下,比如C:\winutils\bin\中。 3.在程式的一開始宣告:System.s
idea報錯could not autowired .但是可以正常執行
轉 http://www.cnblogs.com/softidea/p/5763285.html 解決辦法: File-->Project Setting-->Facets-->Spring右鍵刪掉 因為建立專案的時候,都是先建立空專案再建立web modue
flume啟動報錯 Could not find or load main class org.apache.flume.node.Application
修改flume的資料夾名稱後,啟動flume可能會失敗,錯誤資訊如下: Error: Could not find or load main class org.apache.flume.node.Application 這個是因為環境變數的問題。 export看一下是不是有個FLUME_HOME的
Hibernate專案報錯could not locate named parameter [xxx]]
十月 26, 2018 3:12:06 上午 org.apache.catalina.core.StandardWrapperValve invoke 嚴重: Servlet.service() for servlet [springMVC] in context with path [/qjgl]
yarn報錯 : Could not create the Java Virtual Machine.
yarn使用時候報錯資訊: Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. 1. 檢測yarn版本 yarn version
openstack安裝報錯Could not evaluate: Could not find command '/usr/bin/virsh'
在給openstack新增nova計算節點時報錯: ERROR : Error appeared during Puppet run: 192.168.1.202_compute.pp Error: /Stage[main]/Packstack::Nova::Compute::Libv
kafka安裝測試報錯 could not be established. Broker may not be available.
修改 config 下配置檔案 vim server.properties 配置本機ip listeners=PLAINTEXT://192.168.174.128:9092 執行命令時 bin/kafka-console-consumer.sh --bootstrap-server localho
idea執行mapreduce報錯 Could not locate Hadoop executable: C:\hadoop-3.1.1\bin\winutils.exe
window執行mapreduce報錯 Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: Could not locate Hadoop executable: C:\ha
使用RestTemplate:報錯Could not extract response: no suitable HttpMessageConverter found for response typ
專案中需要呼叫微信介面獲取access_token等一系列和微信介面相關的操作,我使用了Spring自帶的RestTemplate類來發送Get或Post請求,直接在Spring配置檔案中依賴注入 <bean id="restTemplate" class="org.sprin