Hi MCreator! I have the problem that as soon as I export my Minecraft mod it says "Could not export the modification". Please help me, this bug has been for me since MCreator 1.8.x
Issue comments
Executing gradle command: build
Build info: MCreator 1.8.3, 64-bit, 8132 MB, Windows 10 - cmd, JVM 1.8.0_202, JAVA_HOME: C:\Pylo\MCreator183\jdk
(c) 2018 Microsoft Corporation. Med ensamr„tt.
C:\Pylo\MCreator183\forge>gradlew -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms510m -Xmx1500m" 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\MCreator183\forge>
Task completed with return code 0 in 766 milliseconds
Executing gradle command: build
Build info: MCreator 1.8.3, 64-bit, 8132 MB, Windows 10 - cmd, JVM 1.8.0_202, JAVA_HOME: C:\Pylo\MCreator183\jdk
(c) 2018 Microsoft Corporation. Med ensamr„tt.
C:\Pylo\MCreator183\forge>gradlew -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms510m -Xmx1500m" 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\MCreator183\forge>
Task completed with return code 0 in 688 milliseconds
This is most likely happening because MCreator can't write to its user home folder for some reason. It could be that Antivirus is blocking MCreator. Try running MCreator as administrator too to see if this helps.
More technical info about this can be found on the following page: https://stackoverflow.com/questions/30840526/gradle-could-not-create-service-of-type-initscripthandler-using-buildscopeservic
After you see this message, close it, go to console, copy contents and paste them here.