Jump to content

Could not resolve all dependencies for configuration ':classpath'.


Recommended Posts

Posted

Hi everyone, sorry for bothering you all, but i'm having trouble setting up the environment for modding minecraft. When i run the command "gradlew setupDecompWorkspace" it says it can't resolve the dependencies for classpath, can somebody help me? I'm using forge-1.12.2-14.23.1.2555-mdk, and the gradlewrapper version 2.14. I'm sorry if i post this here but i'm currently new so i don't know whether i should post this here or somewhere else.

The error i get is this:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'forge-1.12.2-14.23.1.2555-mdk'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve com.google.guava:guava:18.0.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve com.google.guava:guava:18.0.
         > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom'.
               > Connection reset
   > Could not resolve net.sf.opencsv:opencsv:2.3.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve net.sf.opencsv:opencsv:2.3.
         > Could not get resource 'https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom'.
               > Connection reset
   > Could not resolve com.cloudbees:diff4j:1.1.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve com.cloudbees:diff4j:1.1.
         > Could not get resource 'https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom'.
               > Connection reset
   > Could not resolve com.github.abrarsyed.jastyle:jAstyle:1.3.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve com.github.abrarsyed.jastyle:jAstyle:1.3.
         > Could not get resource 'https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.pom'.
               > Connection reset
   > Could not resolve net.sf.trove4j:trove4j:2.1.0.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve net.sf.trove4j:trove4j:2.1.0.
         > Could not get resource 'https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom'.
               > Connection reset
   > Could not resolve com.github.jponge:lzma-java:1.3.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve com.github.jponge:lzma-java:1.3.
         > Could not get resource 'https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1.3.pom'.
               > Connection reset
   > Could not resolve com.nothome:javaxdelta:2.0.1.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve com.nothome:javaxdelta:2.0.1.
         > Could not get resource 'https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.pom'.
               > Connection reset
   > Could not resolve com.google.code.gson:gson:2.2.4.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve com.google.code.gson:gson:2.2.4.
         > Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom'.
               > Connection reset
   > Could not resolve com.github.tony19:named-regexp:0.2.3.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve com.github.tony19:named-regexp:0.2.3.
         > Could not get resource 'https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom'.
               > Connection reset
   > Could not resolve org.apache.httpcomponents:httpclient:4.3.3.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve org.apache.httpcomponents:httpclient:4.3.3.
         > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom'.
               > Connection reset
   > Could not resolve org.apache.httpcomponents:httpmime:4.3.3.
     Required by:
         :forge-1.12.2-14.23.1.2555-mdk:unspecified > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve org.apache.httpcomponents:httpmime:4.3.3.
         > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom'.
               > Connection reset

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 9.256 secs

 

  • 2 weeks later...
Posted
35 minutes ago, Leolyyn said:

Hey you got a solution for this yet? I'm having the same problem and no idea how to solve it.

Start a new thread with your java version, computer specs & logs. We'll help you on the new thread

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)
44 minutes ago, Leolyyn said:

Hey you got a solution for this yet? I'm having the same problem and no idea how to solve it.

Yes, turns out i'm ignorant and i had the environment variabile JAVA_HOME in Windows set on jdk7 and the PATH set on jdk8 so i updated the JAVA_HOME variabile ti jdk8 and it worked 

Edited by Lamby

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.

Announcements



×
×
  • Create New...

Important Information

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