解決Maven提示:Could not read settings.xml, assuming default values
最近在學習Maven 時總是出現 Could not read settings.xml, assuming default values 錯誤,使得使用者配置無法生效,在網上找了很多資料仍然解決不了,後來通過自己摸索找到了一下原因:
①:在 settings 配置檔案中一定不能有中文,包括註釋 <!-- --> 內部也不能有。
②:路徑一定要寫對:比如說 <localRepository>D:/Maven/repo/</localRepository> 中的路徑使用 “/” 而非 windows 路徑中的 “\”。
③:不管用什麼編輯器,在儲存的時候一定要儲存為 “UTF-8”,推薦使用 notePad++ :
希望能夠幫助大家。
相關推薦
解決Maven提示:Could not read settings.xml, assuming default values
最近在學習Maven 時總是出現 Could not read settings.xml, assuming default values 錯誤,使得使用者配置無法生效,在網上找了很多資料仍然解決
win7配置mvn環境,以及aliyunMaven庫的配置,以及配置eclipse時,出現Could not read settings.xml的解決辦法
一、win7配置mvn環境 1.官網下載mvn 注意:每個maven版本要求的jdk不同,maven3.5.4要求jdk7,那麼jdk7以上版本都可以。 2.環境配置 二、aliyunMaven庫的配置 三、配置eclipse時,出現Could not
安卓:Could not read cache value from'C:\Users\Username\.gradle\daemon\1.12\registry.bin'
android studio在載入專案的時候報錯: Error:Could not read cache value from'C:\Users\Username\.gradle\daemon\1.12\registry.bin' 參考stack overflow上的一個解決方法,刪除
Android Studio 開啟除錯 時 提示:could not connect to remote progress Aborting debug session
1. 在 AndroidMenifest.xml 新增: android:debuggable="true" 允許除錯。 <application android:debuggable="true" andr
Redis在windows下的安裝啟動(解決一個錯誤:Could not get a resource from the pool)
由於專案需要,最近在將專案的每個模組改變成一個單獨的服務來進行部署,但是服務寫完之後,在啟動時報了一個錯誤:Could not get a resource from the pool,如下圖所示: 由以上資訊並查閱資料後明白可能是redis沒有啟動,但是公司
Spring @Value("$XXX")注入值失敗,錯誤資訊提示:Could not resolve placeholder佔位符不能被解析
問題原因: Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'wx.app.config.appid' in string value "${wx.app.config
通過IDEA(2018.2.4)從碼雲(gitee)克隆專案報錯:Could not read from remote repository.
SSH已經配好 有的教程裡將git配置裡邊的SSH executable已經選擇為native 這些仍然沒有用 最後在gitee設定中發現自己勾選了標紅的地方,嘗試取消,克隆成功,問題忽然解決。 所以不要勾選紅框裡的內容
用xshell 連線伺服器提示:Could not connect to '192.168.0.104' (port 22): Connection failed.
xshell 連線伺服器時提示: Could not connect to '192.168.0.104' (port 22): Connection failed. 的解決方法如下: (1)、檢視網路是否連通 ping 192.168.0.104 正在 Ping 192
解決myeclipse錯誤:Could not create the view: An unexpected exception was thrown.
報錯資訊如下: at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.loadFromPreferences(Unknown Source) at com.genuitec.ec
svn報錯:could not read response body connection was closed by server
今天在執行svn checkout的時候發現如下報錯: could not read response body connection was closed by server 這個問題是因為專案檔
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
建立maven專案的時候:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. 解決辦法
問題: https://yq.aliyun.com/ziliao/364921 嘗試沒成功。 https://www.aliyun.com/jiaocheng/296712.html 嘗試沒成功。
Eclipse中啟動Tomcat時(MAVEN專案),報錯:Could not publish to the server. java.lang.IndexOutOfBoundsException的解決過程
Eclipse中啟動Tomcat時(MAVEN專案),報錯:Could not publish to the server. java.lang.IndexOutOfBoundsException,tomcat啟動失敗, 原因:該MAVEN專案下載的本地jar包存在下載失敗的情況 &nbs
【github常見操作和常見錯誤】錯誤提示:Permission denied (publickey). fatal: Could not read from remote repository.
(1)首先新建 SSH key,在git shell(或者git bash等命令視窗),注意大小寫: $ ssh-keygen -t rsa -C “郵箱名” 然後會出現: Generating public/private rsa key
解決創建maven項目Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart問題
下載 -1 mage could nbsp ould pes 最新版 apach 今天用eclipse創建項目的時候報錯如下圖: 解決方案: 1.下載最新版maven-archetype-quickstart-1.1.jar 2.命令行到下載目錄下執行mvn i
Intellij IDEA報錯:Could not save application settings: java.io.IOException: java.lang.AssertionError: Unexpected content storage modificat
mini dst his process ssa 本地 while app ioe Question: i have a message saying "Could not save application settings: java.io.IOException:
在訪問RESTful接口時出現:Could not write content: No serializer found for class 的問題解決小技巧收集
onu restfu zab blank rest org lips 收集 規範 註意:市面上對於寫RESTful是用RestFul,其實是不規範的,標準寫法RESTful。 在Java上,處理這個應該是沒有繼承Serializable類,然後通過Eclipse生成ser
git "Could not read from remote repository.Please make sure you have the correct access rights."解決方案
tpc 覆蓋 com 設置 _id pub ould ack ref 我們在使用git clone 或其他命令的時候,有時候會遇到這類問題,如圖: fatal: Could not read from remote repository. Please make s
git提示錯誤關於錯誤:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not read from remote repository.
eight 無法讀取 主機名 github上 錯誤2 winsock nal file drive 關於 Git 使用中出現的錯誤 饑人谷_楠柒 關註 2016.11.02 15:33* 字數 746 閱讀 3607評論 5喜歡 10贊賞 1 關
【已解決】mac上appium報錯:“Could not find aapt Please set the ANDROID_HOME environment variable with the Android SDK root directory path”
resource sset root could not fun ror 環境 apt direct 按照網上教程配置完appium環境後,真機跑自動化過程,遇到如下報錯: appium報錯如下: [ADB] Checking whether aapt is present