无法刷新IntelliJ中的gradle项目

时间:2016-07-16 22:08:28

标签: intellij-idea gradle

为什么会这样?没有理由,我只是想按下刷新按钮,它永远不会起作用。

Error:Timeout waiting to lock buildscript class cache for build file '/home/dac/proj/spring-boot-master/spring-boot-samples/spring-boot-sample-jetty-jsp/build.gradle' (/home/dac/.gradle/caches/2.3/scripts/build_68kj36zmyqst1ei1zilpv1rml/ProjectScript/buildscript). It is currently in use by another Gradle instance.
Owner PID: unknown
Our PID: 9475
Owner Operation: unknown
Our operation: Initialize cache
Lock file: /home/dac/.gradle/caches/2.3/scripts/build_68kj36zmyqst1ei1zilpv1rml/ProjectScript/buildscript/cache.properties.lock

1 个答案:

答案 0 :(得分:2)

您看到的问题可能与GRADLE-2795有关。尝试将Gradle升级到2.14(这是Gradle在撰写本文时的最新版本)。它应该解决这个问题。