error: cannot find symbol

Started by whydoesmygamek… on

Topic category: Help with MCreator software

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
error: cannot find symbol

Hello,

I recently exported my mcreator mod to a zip file to send it to a different computer. On that different computer, when I imported the mod, a large quantity of my blocks and items as well as even a custom command and a biome all had build errors all saying "error: cannot find symbol".When I tried to regenerate code and build it automatically skipped 50 or so elements saying they were problematic. Does anyone know what is going on here?

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: This problem has…
Sun, 07/16/2023 - 23:52

Update: This problem has been resolved but it led to the discovery of a much worse problem. Tons of mod elements fail to import, saying the message: MCreator failed to import one of the elements defined in workspace file, as it has missing mod definition. MCreator will skip that mod. Your workspace might not work properly without some mod elements. It repeats this for 53 different elements which is 1/6 of my whole project missing. Is there anyway to fix this or export the mod differently so that the import doesnt cause this problem?

This problem has been…
Mon, 07/17/2023 - 17:07

This problem has been resolved

What did you do to resolve the problem? If you manually edited workspace files, this may have led to other problems

a large quantity of my blocks and items as well as even a custom command and a biome all had build errors all saying "error: cannot find symbol"

This usually means caches of Gradle got corrupted (most likely due to antivirus interfering with files) and is fixable by solutions listed on our knowledge base

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nothing I did to fix the…
Sat, 07/22/2023 - 22:28

Nothing I did to fix the first problem caused the second problem, I am sure of that. Do you think the Gradle would have been corrupted by the fact that I am using a Mac and I am transferring it to a Windows?