Topic category: Troubleshooting, bugs, and solutions
What does all this mean? It wont let me export my mod or test it.
symbol: class mcreator_lavaGun
location: class TestEnvironmentMod
24 errors
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.
Executing gradle command: clean build
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator171>cd forge
C:\Pylo\MCreator171\forge>SET "JAVA_HOME=C:\Pylo\MCreator171\jdk32\"
C:\Pylo\MCreator171\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator171\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator171\forge>gradlew -Dorg.gradle.jvmargs="-Xms515m -Xmx1031m" clean build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-eb2e450
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
:mergeJars SKIPPED
:applyBinaryPatches SKIPPED
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:deobfMcMCP SKIPPED
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:39: error: cannot find symbol
mcreator_sniper mcreator_0 = new mcreator_sniper();
^
symbol: class mcreator_sniper
:compileJava FAILED
location: class TestEnvironmentMod
BUILD FAILED
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironme: error: cannot find symbol
ntMod.java:40 mcreator_watergem mcreator_1 = new mcreator_watergem();
Total time: 20.856 secs
^
symbol: class mcreator_watergem
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:41: error: cannot find symbol
mcreator_waterore mcreator_2 = new mcreator_waterore();
^
symbol: class mcreator_waterore
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:42: error: cannot find symbol
mcreator_lavagem mcreator_3 = new mcreator_lavagem();
^
symbol: class mcreator_lavagem
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:43: error: cannot find symbol
mcreator_lavaOre mcreator_4 = new mcreator_lavaOre();
^
symbol: class mcreator_lavaOre
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:44C:\Pylo\MCreator171\forge>
: error: cannot find symbol
Task completed with return code 0 in 21275 milliseconds
mcreator_lavaSword mcreator_5 = new mcreator_lavaSword();
^
symbol: class mcreator_lavaSword
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:45: error: cannot find symbol
mcreator_waterSword mcreator_6 = new mcreator_waterSword();
^
symbol: class mcreator_waterSword
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:46: error: cannot find symbol
mcreator_lavaArmor mcreator_7 = new mcreator_lavaArmor();
^
symbol: class mcreator_lavaArmor
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:47: error: cannot find symbol
mcreator_waterArmor mcreator_8 = new mcreator_waterArmor();
^
symbol: class mcreator_waterArmor
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:48: error: cannot find symbol
mcreator_waterbullet mcreator_9 = new mcreator_waterbullet();
^
symbol: class mcreator_waterbullet
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:49: error: cannot find symbol
mcreator_lavabullet mcreator_10 = new mcreator_lavabullet();
^
symbol: class mcreator_lavabullet
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:50: error: cannot find symbol
mcreator_lavaGun mcreator_11 = new mcreator_lavaGun();
^
symbol: class mcreator_lavaGun
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:39: error: cannot find symbol
mcreator_sniper mcreator_0 = new mcreator_sniper();
^
symbol: class mcreator_sniper
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:40: error: cannot find symbol
mcreator_watergem mcreator_1 = new mcreator_watergem();
^
symbol: class mcreator_watergem
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:41: error: cannot find symbol
mcreator_waterore mcreator_2 = new mcreator_waterore();
^
symbol: class mcreator_waterore
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:42: error: cannot find symbol
mcreator_lavagem mcreator_3 = new mcreator_lavagem();
^
symbol: class mcreator_lavagem
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:43: error: cannot find symbol
mcreator_lavaOre mcreator_4 = new mcreator_lavaOre();
^
symbol: class mcreator_lavaOre
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:44: error: cannot find symbol
mcreator_lavaSword mcreator_5 = new mcreator_lavaSword();
^
symbol: class mcreator_lavaSword
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:45: error: cannot find symbol
mcreator_waterSword mcreator_6 = new mcreator_waterSword();
^
symbol: class mcreator_waterSword
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:46: error: cannot find symbol
mcreator_lavaArmor mcreator_7 = new mcreator_lavaArmor();
^
symbol: class mcreator_lavaArmor
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:47: error: cannot find symbol
mcreator_waterArmor mcreator_8 = new mcreator_waterArmor();
^
symbol: class mcreator_waterArmor
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:48: error: cannot find symbol
mcreator_waterbullet mcreator_9 = new mcreator_waterbullet();
^
symbol: class mcreator_waterbullet
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:49: error: cannot find symbol
mcreator_lavabullet mcreator_10 = new mcreator_lavabullet();
^
symbol: class mcreator_lavabullet
location: class TestEnvironmentMod
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:50: error: cannot find symbol
mcreator_lavaGun mcreator_11 = new mcreator_lavaGun();
^
symbol: class mcreator_lavaGun
location: class TestEnvironmentMod
24 errors
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.
does anybody know how to fix this?
I don't know as much code as I should, but maybe you should go to the elements of your mod and just go through them one at a time to see if they work properly, then you can test them.