Error- Cannot Find Symbol

Started by ianames on Mon, 03/27/2017 - 20:42

Topic category: Help with MCreator modding

Last seen on 06:19, 28. Mar 2017
Joined Mar 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Error- Cannot Find Symbol
Mon, 03/27/2017 - 20:42

   
Executing gradle command: clean build
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-2112b0a        
  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
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:54: error: cannot find symbol
   mcreator_urchin mcreator_15 = new mcreator_urchin();
   ^
  symbol:   class mcreator_urchin
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:55: error: cannot find symbol
   mcreator_liveRock mcreator_16 = new mcreator_liveRock();
   ^
  symbol:   class mcreator_liveRock
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:56: error: cannot find symbol
   mcreator_zoanthidCoral mcreator_17 = new mcreator_zoanthidCoral();
   ^
  symbol:   class mcreator_zoanthidCoral
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:57: error: cannot find symbol
   mcreator_urchinSpine mcreator_18 = new mcreator_urchinSpine();
   ^
  symbol:   class mcreator_urchinSpine
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:58: error: cannot find symbol
   mcreator_brainCoral mcreator_19 = new mcreator_brainCoral();
   ^
  symbol:   class mcreator_brainCoral
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:54: error: cannot find symbol
   mcreator_urchin mcreator_15 = new mcreator_urchin();
                                     ^
  symbol:   class mcreator_urchin
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:55: error: cannot find symbol
   mcreator_liveRock mcreator_16 = new mcreator_liveRock();
                                       ^
  symbol:   class mcreator_liveRock
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:56: error: cannot find symbol
   mcreator_zoanthidCoral mcreator_17 = new mcreator_zoanthidCoral();
                                            ^
  symbol:   class mcreator_zoanthidCoral
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:57: error: cannot find symbol
   mcreator_urchinSpine mcreator_18 = new mcreator_urchinSpine();
                                          ^
  symbol:   class mcreator_urchinSpine
  location: class modname
/Users/ianproctor/Desktop/MCreator_1.7.5_[1.11.2]_Mac-Linux_32-64bit/forge/build/sources/main/java/mod/mcreator/modname.java:58: error: cannot find symbol
   mcreator_brainCoral mcreator_19 = new mcreator_brainCoral();
                                         ^
  symbol:   class mcreator_brainCoral
  location: class modname
10 errors
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> CompilationTotal time: 2 mins 38.282 secs
 failed; see the compiler error output for details.
BUILD FAILED
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Task completed with return code 1 in 163263 milliseconds

 

 

I keep getting this error and I have no idea what to do. This is the second version of a mod I'm working on, the first version was working perfectly and I was able to run it in Minecraft. But when I came to add new content for version 2, all of the new content keeps doing this whenever I export/recompile the mod. I have already tried deleting the new things and remaking them, but the same thing always happens. I have no idea what to do. Please help me.

Last seen on 06:19, 28. Mar 2017
Joined Mar 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Ok, so I've basically figured
Mon, 03/27/2017 - 23:59

Ok, so I've basically figured out that if I exit MCCreator then relaunch it, the first thing I edit once it's relaunched will then "gain a symbol" (It will be added in the Code panel). If I attempt to compile the mod, it will not show up as an error. I will attempt to repeat this process with every single new element that I added in version 2.