Gradle 无法解析org.springframework.cloud:springcloudstarterconfig

Gradle 无法解析org.springframework.cloud:springcloudstarterconfig,gradle,spring-cloud-config,Gradle,Spring Cloud Config,我正在使用gradle构建,这是我的构建。gradle gradle档案里有我遗漏的东西吗 尝试使用: dependencies { [...] compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-config', version: '2.0.1.RELEASE' } 而不是: compile('org.springframework.cloud:spring-cloud-starter-co

我正在使用gradle构建,这是我的构建。gradle

gradle档案里有我遗漏的东西吗

尝试使用:

dependencies { 
  [...]
  compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-config', version: '2.0.1.RELEASE'
}
而不是:

compile('org.springframework.cloud:spring-cloud-starter-config')
compile('org.springframework.cloud:spring-cloud-starter-config')