mvn clean install 提示 POM 檔案有問題,但是專案在別人的電腦上是可以執行的,在我這邊就報錯,另外我新建專案時也提示 pom 檔案有問題
第一次使用maven,按照網上的教程都配置好環境了,然後mvn -version驗證安裝成功了,setting檔案也是同事給我的,按理說沒有啥問題,但是他給我寫好的工程匯入到我這邊就提示下面的錯誤,看了大半天也沒解決,求助~~~
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] The parents form a cycle: org.glassfish.jersey:jersey-bom:2.30.1 -> org.eclipse.ee4j:project:1.0.5 -> org.eclipse.ee4j:project:1.0.5 @ org.glassfish.jersey:jersey-bom:2.29.1
[FATAL] The parents form a cycle: org.apache.logging.log4j:log4j-bom:2.13.2 -> org.apache.logging:logging-parent:1 -> org.apache.logging:logging-parent:1 @ org.apache.logging.log4j:log4j-bom:2.12.1
[ERROR] Invalid packaging for parent POM redis.clients:jedis:2.6.0, must be "pom" but is "jar" @ redis.clients:jedis:2.6.0, D:\mavenLib\org\sonatype\oss\oss-parent\7\oss-parent-7.pom, line 9, column 13
[ERROR] Invalid packaging for parent POM redis.clients:jedis:2.6.0, must be "pom" but is "jar" @ redis.clients:jedis:2.6.0, D:\mavenLib\org\sonatype\oss\oss-parent\7\oss-parent-7.pom, line 9, column 13
[ERROR] Invalid packaging for parent POM redis.clients:jedis:2.6.0, must be "pom" but is "jar" @ redis.clients:jedis:2.6.0, D:\mavenLib\org\sonatype\oss\oss-parent\7\oss-parent-7.pom, line 9, column 13
[FATAL] The parents form a cycle: io.netty:netty-bom:4.1.49.Final -> org.sonatype.oss:oss-parent:7 -> org.sonatype.oss:oss-parent:7 @ redis.clients:jedis:2.6.0
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.hikvision.ys7:webhooks-dubbo:1.0.0 (D:\dubbo_autotest\webhooks-dubbo\pom.xml) has 6 errors
[ERROR] The parents form a cycle: org.glassfish.jersey:jersey-bom:2.30.1 -> org.eclipse.ee4j:project:1.0.5 -> org.eclipse.ee4j:project:1.0.5 @ org.glassfish.jersey:jersey-bom:2.29.1
[ERROR] The parents form a cycle: org.apache.logging.log4j:log4j-bom:2.13.2 -> org.apache.logging:logging-parent:1 -> org.apache.logging:logging-parent:1 @ org.apache.logging.log4j:log4j-bom:2.12.1
[ERROR] Invalid packaging for parent POM redis.clients:jedis:2.6.0, must be "pom" but is "jar" @ redis.clients:jedis:2.6.0, D:\mavenLib\org\sonatype\oss\oss-parent\7\oss-parent-7.pom, line 9, column 13
[ERROR] Invalid packaging for parent POM redis.clients:jedis:2.6.0, must be "pom" but is "jar" @ redis.clients:jedis:2.6.0, D:\mavenLib\org\sonatype\oss\oss-parent\7\oss-parent-7.pom, line 9, column 13
[ERROR] Invalid packaging for parent POM redis.clients:jedis:2.6.0, must be "pom" but is "jar" @ redis.clients:jedis:2.6.0, D:\mavenLib\org\sonatype\oss\oss-parent\7\oss-parent-7.pom, line 9, column 13
[ERROR] The parents form a cycle: io.netty:netty-bom:4.1.49.Final -> org.sonatype.oss:oss-parent:7 -> org.sonatype.oss:oss-parent:7 @ redis.clients:jedis:2.6.0
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
相關文章
- 新建maven專案pom報錯的問題Maven
- maven新建Spring MVC + MyBatis + Oracle的Web專案中pom.xml檔案MavenSpringMVCMyBatisOracleWebXML
- 在pom檔案中新增jar包的方法JAR
- Springboot引入thymeleaf依賴,在pom檔案中報錯。Spring Boot
- 有關*.properties檔案的問題
- 專案提示錯誤找不到git檔案Git
- 關於spring新建專案pom.xml報紅SpringXML
- maven本地倉庫有jar包,但是每次重新整理pom報錯找不到映象檔案MavenJAR
- Eclipse中Maven專案pom.xml檔案沒有錯,但一直有紅叉的解決辦法EclipseMavenXML
- Maven的pom檔案那些事Maven
- pom-建立web專案錯誤Web
- 如何在maven專案的pom.xml檔案中新增jar包MavenXMLJAR
- 建立Maven專案出錯 pom出錯Maven
- maven 在pom檔案下配置預設的jdk版本MavenJDK
- 有關swoole+laravel 上傳檔案的問題Laravel
- SSM框架pom配置檔案SSM框架
- Maven 本地倉庫明明有jar包,pom檔案還是報錯解決辦法MavenJAR
- Maven專案中POM.xml檔案內的標籤大全詳解MavenXML
- 上傳檔案超時問題
- 關於移除 .user.ini檔案報錯,提示沒有許可權問題解決方案
- 查詢jar中的pom檔案JAR
- 上傳檔案專題
- 使用主題檔案(包含CSS檔案)時遇到的問題CSS
- 常見的專案管理問題有哪些?專案管理
- 在Xcode專案中執行Python檔案XCodePython
- 我在SAP專案上常用的告別信格式
- Spring Boot 專案 Maven Install 出現的問題 [WARNING] The requested profile “pom.xml“ could not be activatedSpring BootMavenXML
- 使用composer install 安裝別人的專案遇到的問題
- DDD專案現在實施的問題
- 製作chm檔案搜尋時總提示找不到主題的問題
- Maven中POM專案物件模型Maven物件模型
- Maven的pom.xml檔案詳解MavenXML
- 使用SVN上傳程式碼,顯示已上傳,沒有任何報錯資訊,但是卻沒有更新到專案檔案裡
- maven的pom檔案的所有元素的用法。Maven
- [maven][spring boot] mvn spring-boot:run啟動時,指定pom檔案MavenSpring Boot
- 專案中常問的問題
- 急!JdonFrameworkTest專案執行問題Framework
- PHP 上傳檔案找不到 tmp_name 臨時檔案的問題PHP