Topic category: Troubleshooting, bugs, and solutions
I have the 1.6.9 version of MCreator but when I try to export the mod appears this:
Your mod contain errors and could not be exported.
No mod file was generated.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All mods I created this happens.
Console information:
MCreator Console 1.02
Executing gradle command: clean build
Microsoft Windows [versÆo 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator169>cd forge
C:\Pylo\MCreator169\forge>SET "JAVA_HOME=C:\Pylo\MCreator169\jdk64\"
C:\Pylo\MCreator169\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator169\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator169\forge>SET "JAVA_OPTS=-Xmx2048m -Xms625m"
C:\Pylo\MCreator169\forge>gradlew clean build
#################################################
ForgeGradle 2.2-SNAPSHOT-c438b06
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:clean UP-TO-DATE
:deobfCompileDummyTask
FAILURE: Build failed with an exception.
* What went wrong:
java.io.FileNotFoundException: C:\Pylo\MCreator169\forge\.gradle\2.7\taskArtifacts\cache.properties (The system can't found the specified file)
> C:\Pylo\MCreator169\forge\.gradle\2.7\taskArtifacts\cache.properties (The system can't found the specified file)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
:getVersionJson
BUILD FAILED
Total time: 51.899 secs
C:\Pylo\MCreator169\forge>
Task completed with return code 0 in 53940 milliseconds
It says that it can not find file cache.properties in C:\Pylo\MCreator169\forge\.gradle\2.7\taskArtifacts\ . So let's try this:
Go to the C:\Pylo\MCreator169\forge\.gradle\2.7\taskArtifacts
There should be file cache.properties.lock . You will maybe need have turned on in your system "Show file extensions". Rename this file to cache.properties and try if it works.
Don't exist the file "Show file extensions"
*I don't find "Show file extensions"
In file explorer press the View tab and there is Show file extensions. Well if u have english that is...
Thanks guy my system is PT-BR
Wrong Again:
MCreator Console 1.02
Executing gradle command: clean build
Microsoft Windows [versÆo 6.3.9600]
(c) 2013 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo\MCreator169>cd forge
C:\Pylo\MCreator169\forge>SET "JAVA_HOME=C:\Pylo\MCreator169\jdk64\"
C:\Pylo\MCreator169\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator169\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator169\forge>SET "JAVA_OPTS=-Xmx2048m -Xms625m"
C:\Pylo\MCreator169\forge>gradlew clean build
#################################################
ForgeGradle 2.2-SNAPSHOT-c438b06
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:clean FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':clean'.
> Unable to delete file: C:\Pylo\MCreator169\forge\build\retromapping\replacedMain.rangemap
* 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 48.656 secs
C:\Pylo\MCreator169\forge>
Task completed with return code 0 in 117747 milliseconds
Executing gradle command: clean build
Microsoft Windows [versÆo 6.3.9600]
(c) 2013 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo\MCreator169>cd forge
C:\Pylo\MCreator169\forge>SET "JAVA_HOME=C:\Pylo\MCreator169\jdk64\"
C:\Pylo\MCreator169\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator169\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator169\forge>SET "JAVA_OPTS=-Xmx2048m -Xms625m"
C:\Pylo\MCreator169\forge>gradlew clean build
Executing gradle command: clean build
Microsoft Windows [versÆo 6.3.9600]
(c) 2013 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo\MCreator169>cd forge
C:\Pylo\MCreator169\forge>SET "JAVA_HOME=C:\Pylo\MCreator169\jdk64\"
C:\Pylo\MCreator169\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator169\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator169\forge>SET "JAVA_OPTS=-Xmx2048m -Xms625m"
C:\Pylo\MCreator169\forge>gradlew clean build
#################################################
ForgeGradle 2.2-SNAPSHOT-c438b06
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:clean
:deobfCompileDummyTask
:getVersionJson
:extractUserdev UP-TO-DATE
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
#################################################
ForgeGradle 2.2-SNAPSHOT-c438b06
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:clean UP-TO-DATE
:deobfCompileDummyTask
:mergeJars SKIPPED
:getVersionJson
:extractUserdev UP-TO-DATE
:downloadClient SKIPPED
:applyBinaryPatches SKIPPED
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:downloadServer SKIPPED
:extractMcpData SKIPPED
:splitServerJar SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:mergeJars SKIPPED
:deobfMcMCP SKIPPED
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:applyBinaryPatches SKIPPED
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
C:\Pylo\MCreator169\forge\build\sources\main\java\mod\mcreator\ModName.java:39: error: cannot find symbol
mcreator_test mcreator_0 = new mcreator_test();
^
symbol: class mcreator_test
location: class ModName
C:\Pylo\MCreator169\forge\build\sources\main\java\mod\mcreator\ModName.java:39: error: cannot find symbol
mcreator_test mcreator_0 = new mcreator_test();
^
symbol: class mcreator_test
location: class ModName
2 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: 2 mins 20.603 secs
:extractMcpMappings SKIPPED
C:\Pylo\MCreator169\forge>
:genSrgs SKIPPED
:deobfMcMCP SKIPPED
:sourceApiJava UP-TO-DATE
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
C:\Pylo\MCreator169\forge\build\sources\main\java\mod\mcreator\ModName.java:39: error: cannot find symbol
mcreator_test mcreator_0 = new mcreator_test();
^
symbol: class mcreator_test
location: class ModName
C:\Pylo\MCreator169\forge\build\sources\main\java\mod\mcreator\ModName.java:39: error: cannot find symbol
mcreator_test mcreator_0 = new mcreator_test();
^
symbol: class mcreator_test
location: class ModName
2 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 42.585 secs
C:\Pylo\MCreator169\forge>
Task completed with return code 0 in 104399 milliseconds
This seems to be messed code of mcreator _test. Can I see the code?
C:\Pylo\MCreator169\forge\build\sources\main\java\mod\mcreator\ModName.java:39: error: cannot find symbol
mcreator_test mcreator_0 = new mcreator_test();
^
symbol: class mcreator_test
location: class ModName
C:\Pylo\MCreator169\forge\build\sources\main\java\mod\mcreator\ModName.java:39: error: cannot find symbol
mcreator_test mcreator_0 = new mcreator_test();
^
symbol: class mcreator_test
location: class ModName
2 errors