Can not make new workspace

Published by gereffjeff on
Status
Resolved
Issue description

here is the console :

Executing Gradle task: eclipse

Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8192 MB, Mac OS X, JVM 1.8.0_232, JAVA_HOME: /private/var/folders/t2/g8n2jcjd2gv582snkntfzljh0000gn/T/AppTranslocation/34F48472-74C2-43E7-9AE2-908A7D2AFF1A/d/MCreator.app/Contents/MacOS/jdk/Contents/Home/jre

FAILURE: Build failed with an exception.

* What went wrong:

Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().

> Could not create service of type ResourceSnapshotterCacheService using GradleUserHomeScopeServices.createResourceSnapshotterCacheService().

* 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 1m 0s

BUILD FAILED

Task completed in 60406 milliseconds

Issue comments

In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:

<your user home folder>/.mcreator/gradle

In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt.

If this is not enough to make things work, delete the entire gradle folder, not just caches and try again.

If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.

no mcreator folder there is just mc helper and mcreatorworkspace

 

Could you screenshot this folder?

User home is ~/ folder, so full path would be ~/.mcreator/gradle

there is only workspace folder. I went into home and all I saw is this screenshot

I saw these files

applications

downloads

MCreatorWorkspaces

Movies 

Music

Pictures 

public