【发布时间】:2018-05-18 05:41:41
【问题描述】:
在我的 build.gradle 文件中,我有一个错误的依赖项
compile('org.springframework.boot:spring-boot-starter234')
当我这样做时
gradle build
我明白了:
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find org.springframework.boot:spring-boot-starter234:.
Required by:
project :
但是在 Eclipse 中,当我运行任务时,我没有收到明确的消息。我只是得到:
注意:我已刷新 Gradle 项目并收到相同的消息
【问题讨论】: