title: "Unable to load Maven meta-data" error from ForgeGradle on Mac OSX?
body: <p>I am attempting to set up Eclipse and Minecraft Forge with Gradle on Mac OS X so I can try my hand at modding. Whenever I run either of the following commands, Gradle returns the same error:</p>
  
  <pre><code>./gradlew genEclipseRuns
  ./gradlew setupDecompWorkspace 
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>FAILURE: Build failed with an exception.
  
  * What went wrong:
  A problem occurred configuring root project 'forge-1.12.2-14.23.5.2854-mdk'.
  &gt; Could not resolve all artifacts for configuration ':classpath'.
     &gt; Could not resolve net.minecraftforge.gradle:ForgeGradle:3.+.
       Required by:
           project :
        &gt; Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
           &gt; Unable to load Maven meta-data from https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml.
              &gt; Could not get resource 'https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml'.
                 &gt; Could not GET 'https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml'.
                    &gt; sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  
  * 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
  </code></pre>
  
  <p>I've found a number of issues on the web that seem similar to this, namely <a href="https://github.community/t5/GitHub-Actions/Gradle-fetching-library-from-oss-sontatype-org-throws-403/m-p/50458#M7842" rel="nofollow noreferrer">this one</a>, but I don't really understand the answer. How can I get this to work? Thanks in advance for your feedback!</p>
  
  <p>Some details that might be relevant:</p>
  
  <ul>
  <li><p>I'm running java 1.8.0_65.</p></li>
  <li><p>The Forge version is "forge-1.12.2-14.23.5.2854-mdk", which is the recommended mdk for MC 1.12.2.</p></li>
  <li><p>I'm using Gradle 6.4.1.</p></li>
  </ul>