what does Failed to list versions for net.minecraftforge.gradle:ForgeGradle mean

Started by pokeyt on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 00:58, 25. Mar 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what does Failed to list versions for net.minecraftforge.gradle:ForgeGradle mean

this was a error whith building updateing from 1.17.1 to 1.18.2 i got this :
 
Executing Gradle task: eclipse build 
Build info: MCreator 2022.1.20510, forge-1.18.2, 64-bit, 8097 MB, Windows 10, JVM 17.0.1, JAVA_HOME: D:\Pylo\MCreator\jdk, started on: 2022-06-25-10:48:56 
  
FAILURE: Build failed with an exception. 
* What went wrong: 
A problem occurred configuring root project 'pokeys_forge_mod'. 
> Could not resolve all files for configuration ':classpath'. 
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:5.1.+. 
     Required by: 
         project : 
      > Failed to list versions for net.minecraftforge.gradle:ForgeGradle. 
         > Unable to load Maven meta-data from https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/…;
            > Could not GET 'https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/…;
               > No such host is known (maven.minecraftforge.net) 
      > Failed to list versions for net.minecraftforge.gradle:ForgeGradle. 
         > Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/net/minecraftforge/gradle/ForgeGra…;
            > Could not GET 'https://repo.maven.apache.org/maven2/net/minecraftforge/gradle/ForgeGra…;
               > No such host is known (repo.maven.apache.org) 
* 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 28s 
  
BUILD FAILED 
Task completed in 3 minutes and 1 second 
  

The solution to this problem…
Sun, 06/26/2022 - 08:51

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.