Weird "Cannot find symbol" error

Started by niskiENDERMAN on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Weird "Cannot find symbol" error

Can someone help me with this? I tried to recompile, i tried to change workspace (i have 2 and both have the same problem), i tried to remake anything... MCreator just see all my elements names as an error (you can see that in the log). Also, when it detects an error it shows me nothing. Litreally nothing just a blank space as an error.

Log:

Executing gradle command: clean build
Microsoft Windows [Wersja 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Wszelkie prawa zastrzeľone.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\Szymon\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-ee3e3df        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:35: error: cannot find symbol
   mcreator_a mcreator_0 = new mcreator_a();
   ^
  symbol:   class mcreator_a
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:36: error: cannot find symbol
   mcreator_b mcreator_1 = new mcreator_b();
   ^
  symbol:   class mcreator_b
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:37: error: cannot find symbol
   mcreator_c mcreator_2 = new mcreator_c();
   ^
  symbol:   class mcreator_c
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:38: error: cannot find symbol
   mcreator_d mcreator_3 = new mcreator_d();
   ^
  symbol:   class mcreator_d
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:39: error: cannot find symbol
   mcreator_e mcreator_4 = new mcreator_e();
   ^
  symbol:   class mcreator_e
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:40: error: cannot find symbol
   mcreator_f mcreator_5 = new mcreator_f();
   ^
  symbol:   class mcreator_f
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:41: error: cannot find symbol
   mcreator_g mcreator_6 = new mcreator_g();
   ^
  symbol:   class mcreator_g
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:42: error: cannot find symbol
   mcreator_h mcreator_7 = new mcreator_h();
   ^
  symbol:   class mcreator_h
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:43: error: cannot find symbol
   mcreator_i mcreator_8 = new mcreator_i();
   ^
  symbol:   class mcreator_i
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:44: error: cannot find symbol
   mcreator_j mcreator_9 = new mcreator_j();
   ^
  symbol:   class mcreator_j
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:45: error: cannot find symbol
   mcreator_k mcreator_10 = new mcreator_k();
   ^
  symbol:   class mcreator_k
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:46: error: cannot find symbol
:compileJava FAILED
   mcreator_l mcreator_11 = new mcreator_l();
   ^
  symbol:   class mcreator_l
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:47: error: cannot find symbol
   mcreator_m mcreator_12 = new mcreator_m();
   ^
  symbol:   class mcreator_m
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:48: error: cannot find symbol
   mcreator_n mcreator_13 = new mcreator_n();
   ^
  symbol:   class mcreator_n
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:49: error: cannot find symbol
   mcreator_o mcreator_14 = new mcreator_o();
   ^
  symbol:   class mcreator_o
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:50: error: cannot find symbol
   mcreator_p mcreator_15 = new mcreator_p();
   ^
  symbol:   class mcreator_p
  location: class modname
16 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.
BUILD FAILED
Total time: 9.143 secs
C:\Pylo\MCreator179\forge>

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Factory reset mcreator
Tue, 07/31/2018 - 17:59

Factory reset mcreator

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i have this issue.
Wed, 02/22/2023 - 06:37

i have this issue.

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I get this too, it keeps…
Sat, 02/25/2023 - 02:25

I get this too, it keeps deleting the .java files in the project