Build failed with an exception

Started by Schnagli on Tue, 09/20/2022 - 07:04

Topic category: Troubleshooting, bugs, and solutions

Last seen on 07:57, 22. Nov 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Build failed with an exception
Tue, 09/20/2022 - 07:04

When I want to build and run my mod it gets an error and deleting gradle caches or regenerating code doesn't work. The log says:

 

Executing Gradle task: runClient
Build info: MCreator 2022.2.34517, forge-1.18.2, 64-bit, 7777 MB, Windows 11, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-09-20-08:49:55
 
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\*****\MCreatorWorkspaces\jenshin\build.gradle' line: 12
* What went wrong:
A problem occurred evaluating root project 'jenshin'.
> Failed to apply plugin 'net.minecraftforge.gradle'.
 > Failed to validate certificate for host 'https://libraries.minecraft.net/'. To disable this check, re-run with '-Dnet.minecraftforge.gradle.check.certs=false'.
* 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 17s
 
BUILD FAILED
Task completed in 18 seconds

 

Please help me I want to continue working on my mod

Last seen on 07:57, 22. Nov 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I found out what the problem…
Fri, 09/30/2022 - 14:36

I found out what the problem is: I just shouldn't be programming with my school's internet