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 to handle maven-compiler-plugin:3.7.0:testCompile
2、pom.xml報錯
org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration )
Multiple annotations found at this line:
- CoreException: Could not get the value for parameter compilerId for plugin execution default-testCompile: TypeNotPresentException: Type
org.apache.maven.plugin.compiler.TestCompilerMojo not present: UnsupportedClassVersionError: org/apache/maven/plugin/compiler/TestCompilerMojo : Unsupported major.minor
version 51.0
- CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: TypeNotPresentException: Type
org.apache.maven.plugin.compiler.CompilerMojo not present: UnsupportedClassVersionError: org/apache/maven/plugin/compiler/CompilerMojo : Unsupported major.minor version
51.0
3、maven install報錯
The POM for is missing .....no dependency information available
解決
正確的用法是在父工程的pom.xml上執行程式
比如我現在有兩個工程
demo_pro
library_pro
(library_pro這個是庫工程、也叫做父工程、
或者說是依賴工程,它提供了一個函式給demo_pro來呼叫)
正確做法就是現在父工程library_pro上執行
run as---》maven install這時候會自動下載很多依賴包
等到父工程build success的時候,再在demo_pro上執行
run as---》maven install就可以成功了
在父工程執行maven install這時候會自動下載很多依賴包如下圖
參考
小結
搜尋技巧
百度部分關鍵字的技巧
The POM for is missing xxx.jar no dependency information available
比如這個錯誤,因為每個人報的jar都不一樣,百度的時候可以這樣寫關鍵詞
The POM for is missing no dependency information available
找關鍵錯誤
首先必須明白JavaEE專案在檔案報錯,不代表程式真的有問題,
這個和編譯器的報錯機制有關不深究。比如我的專案,
雖然pom.xml檔案依然報錯,但是不用管這個錯誤,
專案依然成功執行的。常見的還有js檔案報錯。
所以no dependency information available才是關鍵的錯誤點。
spring boot 打jar包
spring boot 打jar包的方法
選中專案,右鍵,run as,maven install,
會自動專案打成jar包,啟動的時候用命令執行就可以了
參考https://www.cnblogs.com/gynbk/p/7954100.html
相關推薦
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
[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
Maven打包報錯:[WARNING] The POM for xxx is missing, no dependency inform
場景 使用Maven建立的一個多模組專案,一個wa-service模組,一個wa-app模組,wa-app模組依賴於wa-service模組,且他們都是WebAppDemo的子模組。 報錯及分析
解決Maven架設Nexus私服no dependency information available問題
解決Maven架設Nexus私服The POM for 。。。。 is missing, no dependency information available問題 問題描述: 學習《Maven實戰》,用Nexus架設私服,在做account-kaptcha子模組時,引用 com.google.code.
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
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(大概是這個名字,版本肯定是這個版本)所在的資料夾(資料夾的名稱裡也有版本號
Maven傳遞依賴無法引入問題(The POM for xxx is invalid)
一、背景 應用A直接應用B,應用B依賴二方包C1、C2、C3,應用A傳遞依賴C1、C2、C3。現應用B升級版本,應用更新B依賴包後發現可正常引入依賴B,但傳遞依賴的C1、C2、C3不能引入。 二、問題排查 應用根目錄列印依賴樹:
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
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available
qt可執行程式執行時報出以下錯誤: ./××××××: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by ./××××××) ./××××××: /usr/li
使用CMake編譯時出現動態連結庫錯誤no version information available的解決方案
出現問題 在使用cmake編譯時出現如下錯誤: /usr/local/bin/cmake: /home/0123/anaconda2/lib/libssl.so.1.0.0: no version information available (require
"There is no tracking information for the current branch" 解決方法
col pan gin ranch eas code pre 解決方法 git 因為新創建的分支push到遠程倉庫後沒有與本地分支關聯,下面語句可以令遠程分支與本地分支關聯起來 git branch --set-upstream-to=origin/release_3
Git: There is no tracking information for the current branch.
在執行git pull的時候,提示當前branch沒有跟蹤資訊: git pull There is no tracking information for the current branch. Please specify which branch you
git 報錯 gitThere is no tracking information for the current branch. Please specify which ...
Git命令git pull 或者git push報錯 新建本地分支後將本地分支推送到遠端庫, 開發完成需要push的時候,使用git pull 或者 git push 報錯 gitThere is no tracking information for th
git 報錯 gitThere is no tracking information for the current branch. Please specify which branch you w
新建本地分支後將本地分支推送到遠端庫, 使用git pull 或者 git push 的時候報錯 gitThere is no tracking information for the curren
《Spring實戰》-- 'cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element' 錯誤的解決
tip c-c 面向切面 ng- join proc ima -a edi 在Eclipse中新建了一個maven項目學習Spring,在 service.xml 中配置 Spring,想要學習‘面向切面的Spring’,service.xml 內容如下: <bean
The Tomcat server configuration at ServersTomcat v8.0 Server at localhost-config is missing. Check the server for erro
windows missing nis could not iyu window ips finish ima 解決方案 1.選擇Eclipse工具欄中的Windows→Perferences 2.remove已經創建的server
關於dubbo創建服務和引用服務時,會報錯:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 問題的解決
一個 sch 系統 contex ips 分布 配置文件 prot 商城項目 在跟著做淘淘商城項目時,用到了dubbo,作為一個SOA架構的項目,分為表現層與服務層,自然地,為了各個層之間解耦合(或者最大限度地松耦合),我們使用了dubbo這樣一個alibaba開源的分
apt-get update 時出現W: There is no public key available for the following key IDs:
apt-get update 時出現W: There is no public key available for the following key IDs: apt-get install debian-keyring debian-archive-keyring 安裝key源 ap
關於dubbo服務的xml配置檔案報錯的問題——The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'
在配置dubbo服務的過程中,經常會遇到雖然程式能夠跑起來,但是配置檔案一堆紅叉,雖然不影響功能,但是確實很讓人噁心。 報錯資訊如下: 解決方案: 下載一個dubbo.xsd檔案(就在dubbo.jar裡面)windows->preferrence->xm
GameFramework篇:Font texture for dynamic font MainFont is missing. Please reimport the Font. All dyna
在打完AB包,執行時出現了Font texture for dynamic font MainFont is missing. Please reimport the Font. All dynamic fonts created with earlier Unity 3.0 betas nee