Topic category: Troubleshooting, bugs, and solutions
Help with gradle error when compiling
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.minecraftforge:forge:1.20.1-47.3.0_mapped_official_1.20.1.
Searched in the following locations:
- file:/C:/Users/%D0%A1%D0%B0%D0%BB%D0%B8%D0%B9/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.pom
- file:/C:/Users/%D0%A1%D0%B0%D0%BB%D0%B8%D0%B9/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.jar
Required by:
project :
* 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 12m 39s
1 actionable task: 1 executed
full log:
it's probably a network problem, if not, take a look at this page: https://mcreator.net/tracker/issue/48031