Compilation Issue

Started by levmegs5 on Tue, 01/06/2015 - 03:17
Last seen on 01:55, 2. Apr 2015
Joined Aug 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Compilation Issue
Tue, 01/06/2015 - 03:17

Hello. I have been working on a mod, and it has had issues compiling. Here is the log:

>=================================================================================================================== >Executing gradle command: build >**************************** > Powered By MCP:              > http://mcp.ocean-labs.de/    > Searge, ProfMobius, Fesh0r,  > R4wk, ZeuX, IngisKahn, bspkrs > MCP Data version : unknown >**************************** >:compileApiJava UP-TO-DATE >:processApiResources UP-TO-DATE >:apiClasses UP-TO-DATE >:sourceMainJava UP-TO-DATE >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/TestEnvironmentMod.java:111: error: cannot find symbol >mcreator_candyStone mcreator_3 = new mcreator_candyStone(); >^ >  symbol:   class mcreator_candyStone >  location: class TestEnvironmentMod >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/TestEnvironmentMod.java:114: error: cannot find symbol >mcreator_yellowCandyShard mcreator_6 = new mcreator_yellowCandyShard(); >^ >  symbol:   class mcreator_yellowCandyShard >  location: class TestEnvironmentMod >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/TestEnvironmentMod.java:111: error: cannot find symbol >mcreator_candyStone mcreator_3 = new mcreator_candyStone(); >                                     ^ >  symbol:   class mcreator_candyStone >  location: class TestEnvironmentMod >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/TestEnvironmentMod.java:114: error: cannot find symbol >mcreator_yellowCandyShard mcreator_6 = new mcreator_yellowCandyShard(); >                                           ^ >  symbol:   class mcreator_yellowCandyShard >  location: class TestEnvironmentMod >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >                                                           ^ >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >                                                                                                                                      ^ >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >                                                                                                                                                                                                                 ^ >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >                                                                                                                                                                                                                                                                                            ^ >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >                                                                                                                                                                                                                                                                                                                                                                       ^ >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^ >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >:compileJava FAILED >                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^ >BUILD FAILED >Total time: 19.918 secs >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^ >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol > "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1),  >                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^ >  symbol:   variable mcreator_yellowCandyShard >  location: class mcreator_yellowCandy >13 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.   Someone please help I am using MCreator 1.5.4 on a Macbook Pro. Thanks in advance!  

 

Last seen on 22:14, 5. Oct 2018
Joined Dec 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
Is this a custom model? If so
Tue, 01/06/2015 - 16:33

Is this a custom model? If so make sure you rename all the different pieces and make sure they are not overlapping. otherwise please go to the wiki or search on youtube. here is a video that explains all the do's and do nots of custom models. https://www.youtube.com/watch?v=7ckM_PrwxEk&list=UUDm7S_ymYjpt4pFZOmd3p…

Last seen on 01:55, 2. Apr 2015
Joined Aug 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Is this a custom model? If so
Tue, 01/06/2015 - 23:33

@#1 What do you mean by custom model? If by that you mean block shape then no they are just normal blocks/ items

Last seen on 18:57, 28. Aug 2015
Joined May 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Is it possible that you
Wed, 01/07/2015 - 06:23

Is it possible that you remove and Item?
If yes make a Backup of your workspace (export as MCR)
and Try to delete the TestEnviroment.class
That solved ever the Symbol not found errors for me.