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
相關文章
- Springboot引入thymeleaf依賴,在pom檔案中報錯。Spring Boot
- 在pom檔案中新增jar包的方法JAR
- 關於spring新建專案pom.xml報紅SpringXML
- Spring Boot 專案 Maven Install 出現的問題 [WARNING] The requested profile “pom.xml“ could not be activatedSpring BootMavenXML
- 使用composer install 安裝別人的專案遇到的問題
- maven本地倉庫有jar包,但是每次重新整理pom報錯找不到映象檔案MavenJAR
- pom-建立web專案錯誤Web
- 建立Maven專案出錯 pom出錯Maven
- SSM框架pom配置檔案SSM框架
- 有關swoole+laravel 上傳檔案的問題Laravel
- [maven][spring boot] mvn spring-boot:run啟動時,指定pom檔案MavenSpring Boot
- SpringBoot專案maven pom.xml警告Overriding managed version問題解決Spring BootMavenXML
- 上傳檔案專題
- Maven 本地倉庫明明有jar包,pom檔案還是報錯解決辦法MavenJAR
- 關於移除 .user.ini檔案報錯,提示沒有許可權問題解決方案
- 製作chm檔案搜尋時總提示找不到主題的問題
- 常見的專案管理問題有哪些?專案管理
- 我在SAP專案上常用的告別信格式
- Maven的pom.xml檔案詳解MavenXML
- Maven中POM專案物件模型Maven物件模型
- PHP 上傳檔案找不到 tmp_name 臨時檔案的問題PHP
- IDEA專案已新增jar包,pom檔案,打包Maven卻一直報錯的幾種解決方法IdeaJARMaven
- 專案中常問的問題
- 專案問題
- 我使用jest測試專案中常見的問題
- 檔案快取是不是有問題啊快取
- Python改寫maven的pom.xml檔案PythonMavenXML
- 通過配置tomcat在瀏覽器訪問非專案中的檔案Tomcat瀏覽器
- 專案管理中的關鍵問題有哪些「上篇」專案管理
- 專案管理中的關鍵問題有哪些「下篇」專案管理
- 使用OSS介面上傳檔案提示成功但是沒有找到檔案
- 檔案上傳常見問題
- maven使用mvn archetype:generate命令建立專案骨架遇到的問題Maven
- IntelliJ IDEA 執行專案的時候提示 Command line is too long 錯誤IntelliJIdea
- 使用SVN上傳程式碼,顯示已上傳,沒有任何報錯資訊,但是卻沒有更新到專案檔案裡
- Java專案問題Java
- win10刪除檔案沒有提示怎麼辦 win10刪除檔案沒有提示的方法Win10
- 個人專案相關問題