老师,在这节视频里面运行spring-boot:run命令的时候报错,错误信息如下:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.074 s
[INFO] Finished at: 2019-05-27T21:26:31+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.10.RELEASE:run (default-cli) on project 20-spring-boot-springloader: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:1.5.10.RELEASE:run failed: Plugin org.springframework.boot:spring-boot-maven-plugin:1.5.10.RELEASE or one of its dependencies could not be resolved: Failed to collect dependencies at org.springframework.boot:spring-boot-maven-plugin:jar:1.5.10.RELEASE -> org.apache.maven:maven-archiver:jar:2.6 -> org.apache.maven:maven-artifact:jar:3.1.1: Failed to read artifact descriptor for org.apache.maven:maven-artifact:jar:3.1.1: Could not transfer artifact org.apache.maven:maven-artifact:pom:3.1.1 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): RSA premaster secret error: SunTls12RsaPremasterSecret KeyGenerator not available -> [Help 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:
我在百度上搜了一些方式,但是发现都没啥用,希望老师解答一下,感谢,附源代码一份
20-spring-boot-springloader.zip