Gradle Not Building "Access Denied"

Started by Lil Shoosh on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 10:24, 30. Dec 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle Not Building "Access Denied"

When I attempt to run the gradle to either play or simply save a new change, I receive this error. I remedied this initially by reinstalling MCreator, but it has come back again, and I would really like to know another solution so that I don't have to reinstall every day. 

 

Gradle could not start your build.
> Could not create service of type FileHasher using BuildSessionServices.createFileHasher().
> java.io.FileNotFoundException: C:\Users\OLD ZACK FILES\MCreatorWorkspaces\arcane_enchancements\.gradle\7.3\fileHashes\fileHashes.lock (Access is denied)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s

 

What is occurring and how might I fix this?

Try rebooting PC Make sure…
Sun, 05/14/2023 - 08:18
  1. Try rebooting PC
  2. Make sure MCreator has permissions to access the files

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.

Last seen on 10:24, 30. Dec 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! 
Tue, 05/16/2023 - 20:28

Thank you!