代码拉取完成,页面将自动刷新
编译项目
litong@litong-CW65S:2-Dalston版教程示例$ cd eureka-server/
litong@litong-CW65S:eureka-server$ mvn package
出现的错误信息如下
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Invalid packaging for parent POM org.apache.neethi:neethi:3.0.1, must be "pom" but is "bundle" @ org.apache.neethi:neethi:3.0.1, /home/dev_mavenRepository/org/apache/apache/9/apache-9.pom, line 32, column 16
[ERROR] Invalid packaging for parent POM org.apache.neethi:neethi:3.0.1, must be "pom" but is "bundle" @ org.apache.neethi:neethi:3.0.1, /home/dev_mavenRepository/org/apache/apache/9/apache-9.pom, line 32, column 16
[ERROR] Invalid packaging for parent POM org.apache.neethi:neethi:3.0.1, must be "pom" but is "bundle" @ org.apache.neethi:neethi:3.0.1, /home/dev_mavenRepository/org/apache/apache/9/apache-9.pom, line 32, column 16
[FATAL] The parents form a cycle: org.apache.logging.log4j:log4j-bom:2.7 -> org.apache:apache:9 -> org.apache:apache:9 @ org.apache.neethi:neethi:3.0.1
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.didispace:eureka-server:1.0.0 (/home/litong/Downloads/SpringCloud-Learning/2-Dalston版教程示例/eureka-server/pom.xml) has 4 errors
[ERROR] Invalid packaging for parent POM org.apache.neethi:neethi:3.0.1, must be "pom" but is "bundle" @ org.apache.neethi:neethi:3.0.1, /home/dev_mavenRepository/org/apache/apache/9/apache-9.pom, line 32, column 16
[ERROR] Invalid packaging for parent POM org.apache.neethi:neethi:3.0.1, must be "pom" but is "bundle" @ org.apache.neethi:neethi:3.0.1, /home/dev_mavenRepository/org/apache/apache/9/apache-9.pom, line 32, column 16
[ERROR] Invalid packaging for parent POM org.apache.neethi:neethi:3.0.1, must be "pom" but is "bundle" @ org.apache.neethi:neethi:3.0.1, /home/dev_mavenRepository/org/apache/apache/9/apache-9.pom, line 32, column 16
[ERROR] The parents form a cycle: org.apache.logging.log4j:log4j-bom:2.7 -> org.apache:apache:9 -> org.apache:apache:9 @ org.apache.neethi:neethi:3.0.1
[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