Jump to content

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


Recommended Posts

Started the project, got this issue, with help from this site, error has been solved. After continueing following tutorial, after changes in gradle.build, examplemod.java, and restarted the project with .\gradlew genIntellijRuns face exactly the same problem. 


Error text:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':runtimeClasspathCopy'.
> Could not find net.minecraftforge:forge:1.16.5-36.2.34_mapped_official_20210309-1.16.5.
  Searched in the following locations:
    - file:/C:/Users/megaa/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.5-36.2.34_mapped_official_20210309-1.16.5/forge-1.16.5-36.2.34_mapped_official_202103
    - file:/C:/Users/megaa/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.5-36.2.34_mapped_official_20210309-1.16.5/forge-1.16.5-36.2.34_mapped_official_202103
  Required by:
      project :

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings



full log -  https://pastebin.com/R2DAm0sj

build.gradle - https://pastebin.com/eh5rtXfP



Command .\gradlew --stop didn't helped.


Link to comment
Share on other sites

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.

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.