Jump to content

I can not install forge1.16.5.


DAilyDAwn

Recommended Posts

 An error occurred on my pc when I am installing the forge. I need help.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'forge-1.16.5-36.1.0-mdk1'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:4.1.+.
     Required by:
         project :
      > Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
         > Unable to load Maven meta-data from https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml.
            > Could not get resource 'https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml'.
               > Could not GET 'https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml'.
                  > The server may not support the client's requested TLS protocol versions: (TLSv1.2). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/6.8.1/userguide/build_environment.html#gradle_system_properties
                     > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

And this is info:

> Configure project :
Evaluating root project 'forge-1.16.5-36.1.0-mdk1' using build file 'D:\Gradle\forge-1.16.5-36.1.0-mdk1\build.gradle'.
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml]

FAILURE: Build failed with an exception.

Link to comment
Share on other sites

Now my java  is the latest version,java8 291.But other errors occurred:

A problem occurred configuring root project 'forge-1.16.5-36.1.32-mdk '.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not download fastutil-8.3.1.jar (it.unimi.dsi:fastutil:8.3.1)
      > Could not get resource 'https://maven.minecraftforge.net/it/unimi/dsi/fastutil/8.3.1/fastutil-8.3.1.jar'.
         > Could not GET 'https://maven.minecraftforge.net/it/unimi/dsi/fastutil/8.3.1/fastutil-8.3.1.jar'.
            > maven.minecraftforge.net

Change version to recommended version 1.16.5-36.1.0:

A problem occurred configuring root project 'forge-1.16.5-36.1.0-mdk'.
> Could not resolve all files for configuration ':_compileJava_1'.
   > Could not download icu4j-66.1.jar (com.ibm.icu:icu4j:66.1)
      > Could not get resource 'https://maven.minecraftforge.net/com/ibm/icu/icu4j/66.1/icu4j-66.1.jar'.
         > Premature end of Content-Length delimited message body (expected: 12,935,630; received: 6,042,560)
   > Could not download fastutil-8.2.1.jar (it.unimi.dsi:fastutil:8.2.1)
      > Could not get resource 'https://maven.minecraftforge.net/it/unimi/dsi/fastutil/8.2.1/fastutil-8.2.1.jar'.
         > Premature end of Content-Length delimited message body (expected: 18,800,417; received: 7,013,368)

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.