首页 > IDEA新建gradle项目,更新依赖出错问题

IDEA新建gradle项目,更新依赖出错问题

以下为配置文件

group 'com.xx'
version '1.0'

apply plugin: 'java'

sourceCompatibility = 1.5

repositories {
    mavenCentral()
}

dependencies {
    compile 'org.springframework: spring-core: 4.2.0.RELEASE'
    testCompile group: 'junit', name: 'junit', version: '4.11'
}

更新依赖时提示

然后我进去点 update 后 都是 error,如下图

这种问题应该怎么解决?


好吧,是网络问题,后来又试下下居然好了。。。

【热门文章】
【热门文章】