Please answer some questions before submitting your issue. Thanks!
Which version of XXL-JOB do you using?
2.0.1
Expected behavior
编译安装
Actual behavior
按照文档的步骤在centos7上安装xxl-job,但是mvn编译的时候出错
Steps to reproduce the behavior
下载源码,mvn package
Other information
环境:
System:centos7.6.1810
xxl-job:2.0.1
java: 1.7.0_80-b15
Maven:3.6.1
mysql:5.6.45-2.el7
以上环境安装完毕后,下载2.0.1版本源码
创建数据库
使用mvn编译时:mvn package
报错如下:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version @ line 14, column 16
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 55, column 15
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ line 60, column 15
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-freemarker:jar is missing. @ line 67, column 15
[ERROR] Non-resolvable import POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version @ line 23, column 25
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 64, column 21
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ line 68, column 21
@
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR] The project com.xuxueli:xxl-job-admin:2.0.1 (/data/xxl-job/xxl-job-admin/pom.xml) has 4 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version @ line 14, column 16 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 55, column 15
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ line 60, column 15
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-freemarker:jar is missing. @ line 67, column 15
[ERROR]
[ERROR] The project com.xuxueli:xxl-job-executor-sample-springboot:2.0.1 (/data/xxl-job/xxl-job-executor-samples/xxl-job-executor-sample-springboot/pom.xml) has 3 errors
[ERROR] Non-resolvable import POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version @ line 23, column 25 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 64, column 21
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ line 68, column 21
[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
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Please answer some questions before submitting your issue. Thanks!
Which version of XXL-JOB do you using?
2.0.1
Expected behavior
编译安装
Actual behavior
按照文档的步骤在centos7上安装xxl-job,但是mvn编译的时候出错
Steps to reproduce the behavior
下载源码,mvn package
Other information
环境: System:centos7.6.1810 xxl-job:2.0.1 java: 1.7.0_80-b15 Maven:3.6.1 mysql:5.6.45-2.el7 以上环境安装完毕后,下载2.0.1版本源码 创建数据库 使用mvn编译时:mvn package 报错如下: [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version @ line 14, column 16 [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 55, column 15 [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ line 60, column 15 [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-freemarker:jar is missing. @ line 67, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version @ line 23, column 25 [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 64, column 21 [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ line 68, column 21 @ [ERROR] The build could not read 2 projects -> [Help 1] [ERROR]
[ERROR] The project com.xuxueli:xxl-job-admin:2.0.1 (/data/xxl-job/xxl-job-admin/pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version @ line 14, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 55, column 15 [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ line 60, column 15 [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-freemarker:jar is missing. @ line 67, column 15 [ERROR]
[ERROR] The project com.xuxueli:xxl-job-executor-sample-springboot:2.0.1 (/data/xxl-job/xxl-job-executor-samples/xxl-job-executor-sample-springboot/pom.xml) has 3 errors [ERROR] Non-resolvable import POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.17.RELEASE from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version @ line 23, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 64, column 21 [ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-test:jar is missing. @ line 68, column 21 [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 [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException