gradle build的时候报错了老师

来源:1-2 -Spring Boot 是什么

慕粉3255313

2019-03-13

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all files for configuration ‘:compileClasspath’.

Could not download hibernate-validator.jar (org.hibernate:hibernate-validator:5.3.6.Final)
Could not get resource ‘https://repo1.maven.org/maven2/org/hibernate/hibernate-validator/5.3.6.Final/hibernate-validator-5.3.6.Final.jar’.
Premature end of Content-Length delimited message body (expected: 726778; received: 474533

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

写回答

2回答

老卫

2019-03-13

看后续的课程,设置下maven镜像

1
2
老卫
回复
慕粉3255313
不用客气。记得给课程一个好评哦~
2019-03-20
共2条回复

慕粉3255313

提问者

2019-03-14

谢谢老师,问题解决了,我更换了一下gradle版本为5.2.1,springboot版本为2.1.3 就好了,请问这样配置对后续课程有没有影响

0
2
慕粉3255313
回复
老卫
OK,谢谢老师
2019-03-18
共2条回复

基于Spring Boot技术栈博客系统企业级前后端实战

毕设 Elasticsearch搜索+Thymeleaf模板+JPA+Security+BootStrap

1296 学习 · 738 问题

查看课程