第一次使用 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


↙↙↙阅读原文可查看相关链接,并与作者交流