Jump to content

Could not resolve all files for configuration ':runtimeClasspathCopy'.


Recommended Posts

Posted

Hi everyone, I downloaded the latest MDK available, which at the time of writing this is: "1.17.1 - 37.0.104", and trying to get it to work in a fresh Eclipse workspace. However I get this very error whenever I type any combination of arguments for the "gradlew" command in the command prompt (such as genEclipseRuns or eclipse):

* What went wrong:
Could not resolve all files for configuration ':runtimeClasspathCopy'.
> Could not find net.minecraftforge:forge:1.17.1-37.0.104_mapped_official_1.17.1.
  Searched in the following locations:
    - file:/C:/Users/Luca Virgilio/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.17.1-37.0.104_mapped_official_1.17.1/forge-1.17.1-37.0.104_mapped_official_1.17.1.pom
    - file:/C:/Users/Luca Virgilio/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.17.1-37.0.104_mapped_official_1.17.1/forge-1.17.1-37.0.104_mapped_official_1.17.1.jar
  Required by:
      project :

I'm using Java 16 as required by Minecraft 1.17.1, and the JAVA_HOME and Path variables are set to the correct address.

C:\>javac -version
javac 16.0.2

I provided below the full output of a "gradlew genEclipseRuns --refresh-dependencies --stacktrace" command:

  Reveal hidden contents

Any kind of help would be appreciated

Posted

I thought about that too, since there is already a thread covering this exact topic, however I forgot to mention that there is no "caches" folder inside my ".gradle" folder for me to delete.

C:\Users\Luca Virgilio\Desktop\Test\.gradle

05/11/2021  09:00    <DIR>          .
05/11/2021  09:00    <DIR>          ..
05/11/2021  09:01    <DIR>          7.2
05/11/2021  09:00    <DIR>          buildOutputCleanup
05/11/2021  09:00    <DIR>          checksums
05/11/2021  09:01    <DIR>          vcs-1

 

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.