Cannot export mod!

Published by leof007 on Mon, 08/20/2018 - 08:34
Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I'm trying to export my mod, but it keeps on coming up with an error message. I click remove problematic mods and try again, but when I try to export the mod again, the error message comes up.

Here is what the console said:

Executing gradle command: clean build Microsoft Windows [Version 10.0.17134.228] (c) 2018 Microsoft Corporation. All rights reserved. C:\Users\leofr\Downloads>cd forge C:\Users\leofr\Downloads\forge>SET "JAVA_HOME=C:\Users\leofr\Downloads\jdk\" C:\Users\leofr\Downloads\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe C:\Users\leofr\Downloads\forge>SET PATH=%JAVA_HOME%\bin\;%PATH% C:\Users\leofr\Downloads\forge>SET "GRADLE_USER_HOME=C:\Users\leofr\.mcreator\gradle" C:\Users\leofr\Downloads\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build  This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril. #################################################          ForgeGradle 2.3-SNAPSHOT-ee3e3df           https://github.com/MinecraftForge/ForgeGradle   #################################################                  Powered by MCP                                http://modcoderpack.com                   by: Searge, ProfMobius, R4wk, ZeuX                Fesh0r, IngisKahn, bspkrs, LexManos          ################################################# :clean :deobfCompileDummyTask :deobfProvidedDummyTask :sourceApiJava :compileApiJava UP-TO-DATE :processApiResources UP-TO-DATE :apiClasses UP-TO-DATE :sourceMainJava C:\Users\leofr\Downloads\forge\build\sources\main\java\mod\mcreator\modname.java:38: error: cannot find symbol    mcreator_overworldTP mcreator_3 = new mcreator_overworldTP();    ^   symbol:   class mcreator_overworldTP   location: class modname C:\Users\leofr\Downloads\forge\build\sources\main\java\mod\mcreator\modname.java:39: error: cannot find symbol    mcreator_overworldtp2 mcreator_4 = new mcreator_overworldtp2();    ^   symbol:   class mcreator_overworldtp2   location: class modname C:\Users\leofr\Downloads\forge\build\sources\main\java\mod\mcreator\modname.java:40: error: cannot find symbol    mcreator_tARDIS mcreator_5 = new mcreator_tARDIS();    ^   symbol:   class mcreator_tARDIS   location: class modname C:\Users\leofr\Downloads\forge\build\sources\main\java\mod\mcreator\modname.java:41: error: cannot find symbol    mcreator_tardisbl mcreator_6 = new mcreator_tardisbl();    ^   symbol:   class mcreator_tardisbl   location: class modname C:\Users\leofr\Downloads\forge\build\sources\main\java\mod\mcreator\modname.java:42: error: cannot find symbol    mcreator_tARDISINT mcreator_7 = new mcreator_tARDISINT();    ^   symbol:   class mcreator_tARDISINT   location: class modname 5 errors :compileJava FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 1 mins 29.293 secs C:\Users\leofr\Downloads\forge> Task completed with return code 0 in 93324 milliseconds

 

Attachment Size
What it says (notice that there is nothing in the error list)477.51 KB 477.51 KB
The Gradle Console354.7 KB 354.7 KB

Issue comments

Select another workspace and then this one back, so you effectively "export" and "import" the workspace back. This should fix this bug. We have fixed the cause of this issue in 1.8.0.



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.