eclipseProject FAILED access denied

Started by Xredarchannel on

Topic category: Troubleshooting, bugs, and solutions

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
eclipseProject FAILED access denied

Hi everyone.

I run into this problem and I have no idea what does this mean or how to solve it: 

 > Running 'SideStripper'
 > Running 'decompile'
 > Running 'inject'
 > Running 'patch'
MCP environment setup is complete
> Task :eclipseJdt
> Task :eclipseProject FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':eclipseProject'.
> java.io.FileNotFoundException: C:\Users\xreda\MCreatorWorkspaces\redstonepower\.project (Access 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 6m 1s
10 actionable tasks: 6 executed, 4 up-to-date

BUILD FAILED
Task completed in 6 minutes and 1 second

My antivirus was disabled and the MCreator files whitelisted too.

There are absolutely no problem with access or permissions to the .project file or all the folders where it is, up to the user folder.

One thing maybe is worth noting: the workspace I'm trying to initialize is a pretty old one (I'm not sure but I'd say about 2 years) and I opened it as it was with the latest version of MCreator.

Thank you for your help.

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe these infos are needed…
Sat, 01/06/2024 - 01:26

Maybe these infos are needed too:

Executing Gradle task: eclipse
Build info: MCreator 2023.4.52316, forge-1.20.1, 64-bit, 65354 MB, Windows 11, JVM 17.0.9, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-01-06-01:58:07

> Task :downloadMCMeta UP-TO-DATE
> Task :extractNatives UP-TO-DATE
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createSrgToMcp UP-TO-DATE
C:\Users\xreda…
Sun, 01/07/2024 - 14:53
C:\Users\xreda\MCreatorWorkspaces\redstonepower\.project (Access denied)

Seems MCreator can't access the filles. Check your file permission settings for your OS.

Please also read General Publishing Guidelines about where and how to post logs, please