I always get Build Failed and I dont know how to fix it

Started by Knockback Stick on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 17:56, 3. May 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I always get Build Failed and I dont know how to fix it

Hello, 
I always get "BUILD FAILED" in the console after I make any entity (I make the entities in BlockBench btw) and I don´t know whats wrong and it says this

Executing Gradle task: build
Build info: MCreator 2023.1.10610, fabric-1.19.2, 64-bit, 15319 MB, Windows 10, JVM 17.0.5, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-04-26-13:38:09

> Configure project :
Fabric Loom: 1.0.18
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix.
> Task :compileJava
C:\Users\HTPC\MCreatorWorkspaces\ecologicals\src\main\java\net\mcreator\ecologicals\init\EcologicalsModEntities.java:20: error: cannot find symbol public static EntityType<MeerkatEntity> MEERKAT;
^
symbol: class MeerkatEntity
location: class EcologicalsModEntities
1 error
> Task :compileJava FAILED
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.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 12s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 18 seconds

I tried to fix it but nothing worked... I´m probably just very bad at coding and if theres anyone who knows how to fix this then I will appreciate a reply.

 

Thanks for future replies.

-KnockbackStick