Help with Build failed with an exception

Started by Ghiaccio on

Topic category: Troubleshooting, bugs, and solutions

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Build failed with an exception

Hi, ive been trying to export a mod i made. For some reason, the export mod button is disabled.
When i checked in the console to know what was going on, it showed this:

 

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'whitealbumite'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
     Required by:
         project :
      > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
         > Unable to load Maven meta-data from http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr….
            > Could not get resource 'file:/C:/Users/pc/.mcreator/gradle/caches/modules-2/resources-2.1/80/36f5acee740e6aea09a82509479d9c4b23bd8a66/maven-metadata.xml'.
               > C:\Users\|||||||\.mcreator\gradle\caches\modules-2\resources-2.1\80\36f5acee740e6aea09a82509479d9c4b23bd8a66\maven-metadata.xml (Acceso denegado)
* 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 4s

If anyone could tell me what to do to solve this i would appreciate it from deep down in my heart.