Topic category: Help with MCreator software
i have tried everything on the forums to fix this, and it still is there.
ive figured out that its a problem when building the workspace but i dont know why, cause it was working and next time i used it it stopped working.
ive also tried reseting gradle things at all levels and everything said in the wiki, its not the gradle files, when i load those in the "build and load" it works. its the "build workspace" that doesnt work.
youre my last hope
here's the error message:
> Task :compileJava FAILED
> Task :processResources FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':compileJava'.
> Unable to delete directory 'C:\Users\elaur\MCreatorWorkspaces\wands\build\generated\sources\headers\java\main'
* 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 from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':processResources'.
> Unable to delete directory 'C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\assets\wands\lang
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\assets\wands\models\item
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\assets\wands\models
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\assets\wands\textures\entities
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\assets\wands\textures\item
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\assets\wands\textures
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\assets\wands
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\assets
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\data\minecraft\tags\enchantment
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\data\minecraft\tags\entity_type
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\data\minecraft\tags\item
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\data\minecraft\tags
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\data\minecraft
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\data\wands\advancement\recipes
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\data\wands\advancement
- C:\Users\elaur\MCreatorWorkspaces\wands\build\resources\main\data\wands\enchantment
- and more ...
* 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 from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================
Please read General Publishing Guidelines on how to handle logs. Provide link to full log in original post