ClassLoaderRegistry Fail

Published by lazydude5 on Fri, 02/02/2018 - 05:09
Upvotes: 0
Issue description

The Following happens whenever I recompile my workspace:

Executing gradle command: clean build
Microsoft Windows [Version 10.0.16299.192]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator177>cd forge
C:\Pylo\MCreator177\forge>SET "JAVA_HOME=C:\Pylo\MCreator177\jdk64\"
C:\Pylo\MCreator177\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator177\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator177\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build 
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator177\forge>
Task completed with return code 0 in 3204 milliseconds

This also happens when

  • Exporting to a mod file
  • creating a new mod element

Please help me. the MCreator forums have not helped me at all to fix this issue.

Issue comments

What user are you running MCreator under? Does it have administrator permissions? You might want to try to set system environment variable GRADLE_USER_HOME pointing to a folder which you can write and gradle will store its data there.

More technical info about this can be found on the following page:

If this does not solve the problem, please reply back and we will try to find another solution.

Submitted by lazydude5 on Fri, 02/02/2018 - 19:26

it worked. thanks for the assistence!
 

 



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.