Topic category: Troubleshooting, bugs, and solutions
I'm trying to compile a test of my mod, but every time I try this error appears:
> 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/Usu%C3%A1rio/.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/Usu%C3%A1rio/.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 59s
1 actionable task: 1 executed
BUILD FAILED