Gradle Decompilation Error

Status
Resolved
Type
Product/platform
Not applicable
Priority
Normal
Issue description

Executing Gradle task: eclipse

Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 4010 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

> Configure project :

New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3

Error getting artifact: net.minecraft:client:1.14.4:null@pom from  MCPRepo

java.net.UnknownHostException: launchermeta.mojang.com

   at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)

   at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)

....

   at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)

   at java.lang.Thread.run(Thread.java:748)

   at java.lang.Thread.run(Thread.java:748)

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'kelo'.

> Could not resolve all files for configuration ':_compileJava_1'.

   > Could not resolve net.minecraft:client:1.14.4.

     Required by:

         project :

      > Could not resolve net.minecraft:client:1.14.4.

         > Could not get resource 'https://files.minecraftforge.net/maven/net/minecraft/client/1.14.4/clie…'.

            > Could not GET 'https://files.minecraftforge.net/maven/net/minecraft/client/1.14.4/clie…'.

               > files.minecraftforge.net

      > Could not resolve net.minecraft:client:1.14.4.

         > Could not get resource 'https://libraries.minecraft.net/net/minecraft/client/1.14.4/client-1.14…'.

            > Could not HEAD 'https://libraries.minecraft.net/net/minecraft/client/1.14.4/client-1.14…'.

               > libraries.minecraft.net

      > Could not resolve net.minecraft:client:1.14.4.

         > Could not get resource 'https://repo.maven.apache.org/maven2/net/minecraft/client/1.14.4/client…'.

            > Could not GET 'https://repo.maven.apache.org/maven2/net/minecraft/client/1.14.4/client…'.

               > 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 1m 40s

BUILD FAILED

Task completed in 102041 milliseconds

Issue comments

In most cases all Gradle errors are caused by one of these:

  • Firewall or antivirus blocking MCreator
  • Slow internet connection
  • Your ISP blocking certain websites
  • Too slow VPN or VPN with blocked domains that MCreator needs to access
  • Any other software blocking access to download repository

The most common errors from Gradle are caused by firewalls or antivirus software. If you have any issues, we recommend you to temporarily turn off this software and try again. If this works, add MCreator as an exception to your firewall or antivirus or reconfigure the software properly to not block programs such as MCreator.

It can also happen that the servers from which Gradle downloads files (Minecraft servers, Minecraft Forge repo, Maven repository) are down and you might just need to try again later in such cases.

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.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.