Help, cannot find symbol

Started by Rautville on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help, cannot find symbol
Wed, 07/18/2018 - 12:58 (edited)

Already 3 day I struggle with a problem (cannot find symbol) help, what to do in this situation, by the way it's a sword

 

code error:

C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\testenvironmentmod.java:47: error: cannot find symbol
    mcreator_swordLich mcreator_3 = new mcreator_swordLich();
    ^
  symbol:   class mcreator_swordLich
  location: class testenvironmentmod
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\testenvironmentmod.java:47: error: cannot find symbol
    mcreator_swordLich mcreator_3 = new mcreator_swordLich();
                                        ^
  symbol:   class mcreator_swordLich
  location: class testenvironmentmod
2 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.
 

Edited by Rautville on Wed, 07/18/2018 - 12:58
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A way to fix this problem of…
Sun, 07/15/2018 - 14:31

A way to fix this problem of yours is to factory reset your MCreator and recreate all you made up till now or to import back in an mcr file of your mod before this error happened. This happens frequently to me as well, so I believe I know how to deal with this problem.

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and if the mod is global,…
Wed, 07/18/2018 - 00:20

and if the mod is global, and there's a lot of things to be remade?
 

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For me worked to delete all…
Thu, 07/26/2018 - 23:44

For me worked to delete all listed mod elements and recreate them. You have only one and I had 24. According to your error code you should delete (and probably recreate) mod element "swordLich".