Mcreator says :CompileJava failed when I open or create a workspace! I've tried to restart my computer, delete caches, delete the gradle file, and it STILL WON'T WORK! Please help! Thank you!
Issue comments
Executing
Gradle task: build
Build
info: MCreator 2020.3.22116, forge-1.15.2, 64-bit, 4002 MB, Windows 10,
JVM 1.8.0_252, JAVA_HOME: D:\MCreator\jdk
>
Configure project :
New
Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
>
Task :compileJava
C:\Users\auckl\MCreatorWorkspaces\the_dragon_mod\src\main\java\net\mcreator\thedragonmod\block\EnderDragonScaleOreBlock.java:62:
??: ?????
return Collections.singletonList(new
ItemStack(EnderDragonScaleGemItem.block, (int) (1)));
^
??: ?? EnderDragonScaleGemItem
??: ? CustomBlock
?:
C:\Users\auckl\MCreatorWorkspaces\the_dragon_mod\src\main\java\net\mcreator\thedragonmod\block\EnderDragonScaleOreBlock.java??????????
API?
?:
??????, ??? -Xlint:deprecation ?????
?:
C:\Users\auckl\MCreatorWorkspaces\the_dragon_mod\src\main\java\net\mcreator\thedragonmod\block\EnderDragonScaleOreBlock.java???????????????
?:
??????, ??? -Xlint:unchecked ?????
1
???
>
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
Deprecated
Gradle features were used in this build, making it incompatible with
Gradle 5.0.
Use
'--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD
FAILED in 38s
1
actionable task: 1 executed
BUILD
FAILED
Task
completed in 38417 milliseconds
This happened when I tried fabric:
Executing Gradle task: build
Build info: MCreator 2020.3.22116, fabric-1.16, 64-bit, 4002 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: D:\MCreator\jdk
> Configure project :
Fabric Loom: 0.2.7-SNAPSHOT Build(jenkins #40)
:setting up loom dependencies
:setting up mappings (yarn 20w21a+build.15)
> Task :compileJava FAILED
:setting java compiler args
Could not find refmap definition, will be using default name: modid-refmap.json
?: SpongePowered MIXIN Annotation Processor Version=0.8
?: ObfuscationServiceFabric supports type: "official:intermediary"
?: ObfuscationServiceFabric supports type: "official:named"
?: ObfuscationServiceFabric supports type: "intermediary:official"
?: ObfuscationServiceFabric supports type: "intermediary:named"
?: ObfuscationServiceFabric supports type: "named:official"
?: ObfuscationServiceFabric supports type: "named:intermediary"
?: ObfuscationServiceMCP supports type: "searge"
?: ObfuscationServiceMCP supports type: "notch"
C:\Users\auckl\MCreatorWorkspaces\netherite_ingot\src\main\java\net\mcreator\netheriteingot\block\HiOre.java:9: ??: ???net.fabricmc.fabric.api.blocks???
import net.fabricmc.fabric.api.blocks.FabricBlockSettings;
^
1 ???
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 3s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 3118 milliseconds
Provide compile log