Execution failed for task ':processResources'. > Could not copy file

Started by Multiplegamesman on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Execution failed for task ':processResources'. > Could not copy file

Executing Gradle task: runClient
Build info: MCreator 2024.1.18518, forge-1.20.1, 64-bit, 7519 MB, Windows 11, JVM 17.0.10, JAVA_HOME: C:\Users\elias\Downloads\MCreator.2024.1.Windows.64bit\MCreator20241\jdk, started on: 2024-09-10-23:15:55

> Task :compileJava UP-TO-DATE
> Task :processResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processResources'.
> Could not copy file 'C:\Users\elias\MCreatorWorkspaces\wefasg_qwefewfadfwef\src\main\resources\assets\wefasg_qwefewfadfwef\textures\models\armor\desktop.ini' to 'C:\Users\elias\MCreatorWorkspaces\wefasg_qwefewfadfwef\build\resources\main\assets\wefasg_qwefewfadfwef\textures\models\armor\desktop.ini'.
> C:\Users\elias\MCreatorWorkspaces\wefasg_qwefewfadfwef\build\resources\main\assets\wefasg_qwefewfadfwef\textures\models\armor\desktop.ini (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 973ms
2 actionable tasks: 1 executed, 1 up-to-date

BUILD FAILED
Task completed in 1 second

 

Try deleting C:\Users\elias…
Wed, 09/11/2024 - 18:10

Try deleting C:\Users\elias\MCreatorWorkspaces\wefasg_qwefewfadfwef\src\main\resources\assets\wefasg_qwefewfadfwef\textures\models\armor\desktop.ini