How do I fix an OverlappingFileLockException when building with Gradle on Windows?

前端 未结 1 1654
醉话见心
醉话见心 2021-01-21 00:02

Upon attempting to walk through the Spring REST tutorial, which uses Gradle, I encountered an OverlappingFileLockException when trying to run ./gradlew clean test.

相关标签:
1条回答
  • It appears this was a problem writing to my default cache directory, which exists on a network location. To fix this, I added a GRADLE_USER_HOME environment variable, pointing to a local drive instead: C:\Users\ramc01\.gradle. Fixed!

    0 讨论(0)
提交回复
热议问题