The POM for XXX is invalid, transitive dependencies (if any) will not be available解決方案
今天,某個開發的環境在編譯的時候提示警告The POM for XXX is invalid, transitive dependencies (if any) will not be available,編譯失敗。
update他提交的程式碼下來之後,確實有這個問題,按照網上的一種方法,右鍵專案,maven,update之後,LZ的環境沒有問題了。但是他那邊還是這個問題,並且在$HOME下生成了一個0KB大小的fakerepo/路徑/XXX.jar,eclipse clean,重啟機器,網上各種方式怎麼處理都不行。
按照maven的提示開啟debug日誌,在A專案下執行如下命令:
mvn -X -U clean package
再次檢視編譯日誌
最後發現不是警告中的包的問題,而是我們自己編譯的es-job在lib下(因為原生事件跟蹤只支援mysql,我們需要同時支援多資料庫比如oracle),通過${project.basedir},那臺機器死活不行,最後讓他那邊改成絕對路徑,先這樣解決。參考:
https://blog.csdn.net/WinWill2012/article/details/72220636
https://stackoverflow.com/questions/23581194/the-pom-for-name-is-invalid-transitive-dependencies-if-any-will-not-be-avai
相關推薦
The POM for XXX is invalid, transitive dependencies (if any) will not be available解決方案
今天,某個開發的環境在編譯的時候提示警告The POM for XXX is invalid, transitive dependencies (if any) will not be available,編譯失敗。 update他提交的程式碼下來之後,確實有這個問題,按照網上的一種方法,右鍵專案,mave
The POM for XXX is invalid, transitive dependencies (if any) will not be available
在執行maven install命令的時候出現錯誤: The POM for org.apache.commons:commons-collections4:jar:4.1 is invalid, transitive dependencies (if any
is invalid, transitive dependencies (if any) will not be available解決方案
問題描述 maven專案在編譯的時候報如下WARNING: [WARNING] The POM for com.winwill.test:0.0.1-SNAPSHOT is invalid, transitive dependencies (if any) will not
Maven傳遞依賴無法引入問題(The POM for xxx is invalid)
一、背景 應用A直接應用B,應用B依賴二方包C1、C2、C3,應用A傳遞依賴C1、C2、C3。現應用B升級版本,應用更新B依賴包後發現可正常引入依賴B,但傳遞依賴的C1、C2、C3不能引入。 二、問題排查 應用根目錄列印依賴樹:
Maven打包報錯:[WARNING] The POM for xxx is missing, no dependency inform
場景 使用Maven建立的一個多模組專案,一個wa-service模組,一個wa-app模組,wa-app模組依賴於wa-service模組,且他們都是WebAppDemo的子模組。 報錯及分析
[WARNING] The POM for XXX-system:jar:1.9.0-SNAPSHOT is missing, no dependency information available
在 git-bash 中 想要啟動一個工程服務就是不成功,始終提示jar包找不到,原生代碼已提交。 這時可直接登陸git,找到對應專案,檢視專案中pom檔案引用的書寫,最終發現git上引用的jar的確還是原版。 程式碼沒有提交成功。重新提交。 其實這個jar是另外一個工程A,在本工程B
MySQL is running but PID file could not be found 解決方案
今天碰到一個問題,伺服器異常關閉,mysql無法啟動,檢視mysql 狀態service mysqld status都提示:MySQL is running but PID file could not be found。 解決方法: 使用ps -elf |
Maven錯誤“The POM for org.springframework:spring-core:jar:4.3.4.RELEASE is invalid, tr”
出現這個錯誤的原因是你的“spring-core:jar:4.3.4”沒有刪除乾淨,或有殘留 來到你的maven路徑:C:\Users\it室\.m2\repository 把裡面的Spring-core.4.3.4(大概是這個名字,版本肯定是這個版本)所在的資料夾(資料夾的名稱裡也有版本號
JSP報錯The value for the useBean class attribute *** is invalid.
再次 attribute use 基本 sdn 正常 沒有 class art 環境:IDEA+Tomcat9+JDK1.8 在前期學習時,環境一直能夠“正常”使用,實際上環境並沒有完全搭建成功。 推薦: https://blog.csdn.net/lw_power/art
The POM for is missing no dependency information available
環境 win7 64 MyEclipse 10.5 java version "1.8.0_91" 報錯 1、匯入報錯 No marketplace entries found
The service definition selected is invalid
吐槽下 最近在學Java 聽聞Java生態很好 社群很多 但實際操作起來確實另一番風景 不多說了 說正事 新增WebService服務Client時有密碼認證得服務 Eclipse丟擲 The service definition selected is invalid 本以為時給
Maven報錯:Non-resolvable parent POM for XXX
這個錯誤的原因是因為子pom檔案的parent relativePath (相對路徑)寫錯 <parent> <groupId>XXX</groupId>
The Hunger for Data is Asia's Main Threat to AI Development Analytics Insight
Artificial Intelligence (AI) has evolved to be a crucial tool in transforming businesses from followers to leaders. AI promises to take business operations
debian wget 報ERROR: The certificate of ‘xxx’ is not trusted.
1-1 err wait cati -c deb nbsp asn cte 1 # wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz 2 --2019-01-11 15:04:41-- htt
is marked as an executable but could not be run by the operating system
1 Failed to execute process './.sht'. Reason: exec: Exec format error The file './.sdf' is marked as an executable but could not be run by the operati
git使用採坑-The project you were looking for could not be found 解決方式
git使用採坑-The project you were looking for could not be found 解決方式
maven 下載jar失敗: resolution will not be reattempted until the update interval of central has elapsed or updates are forced
emp 。。 epo except resp esp failure XML could Multiple annotations found at this line: - ArtifactTransferException: Failure to transfer
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
統一 apple col convert rstp stp line methods gree <?php class Car { var $color = "add"; function Car($color="green") {
Maven配置pom.xml,正在下載時網絡不佳下載失敗的解決方案
ply 分享 重新 apach ges images 如果 eight 好的 環境:jdk1.7.0_17,Myeclipse 10,apache-maven-3.2.5 配置項目中pom.xml的dependencies時 ,如果本地倉庫沒有的話,就會自動下載。
maven報Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6的解決方案
man 一個 art enc resources osi pre read 是我 上面截圖是我在新建maven項目的時候報錯信息提示,我是這麽解決的 1.在pom.xml文件中加入maven-resources-plugin配置 <dependency>