Gradle task failed

Started by bpsyscraft on

Topic category: Help with MCreator software

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle task failed

Hi friends, I comment that lately I am having this error when starting the application.

Error log:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Versi¢n 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.
H:\mcreator>cd forge
H:\mcreator\forge>SET "JAVA_HOME=H:\mcreator\jdk64\"
H:\mcreator\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
H:\mcreator\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
H:\mcreator\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-c438b06        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
Connection timed out: connect
:getVersionJson
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':forgeGradleUserDevPackage'.
:extractUserdev
> Could not resolve net.minecraftforge:forge:1.10.  Required by:
2-12.18.2.2099.
BUILD FAILED
Total time: 3 mins 11.735 secs
      com.yourname.modid:forge:1.0
> Could not resolve net.minecraftforge:forge:1.10.2-12.18.2.2099.
> Could not get resource 'http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.10.2-1…;.
> Could not HEAD 'http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.10.2-1…;.
> Connect to files.minecraftforge.net:80 [files.minecraftforge.net/158.69.55.219] failed: Connection timed out: connect
> Could not resolve net.minecraftforge:forge:1.10.2-12.18.2.2099.
> Could not get resource 'https://repo1.maven.org/maven2/net/minecraftforge/forge/1.10.2-12.18.2…;.
> Could not HEAD 'https://repo1.maven.org/maven2/net/minecraftforge/forge/1.10.2-12.18.2…;.
> Connect to repo1.maven.org:443 [repo1.maven.org/151.101.12.209] failed: Connection timed out: connect
> Could not resolve net.minecraftforge:forge:1.10.2-12.18.2.2099.
> Could not get resource 'https://libraries.minecraft.net/net/minecraftforge/forge/1.10.2-12.18.2…;.
> Could not HEAD 'https://libraries.minecraft.net/net/minecraftforge/forge/1.10.2-12.18.2…;. Received status code 403 from server: Forbidden
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
H:\mcreator\forge>
Task completed with return code 0 in 193178 milliseconds

What can it be? They help me?

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had this problem too, no
Thu, 11/24/2016 - 13:37

I had this problem too, no one in the forum seemed to know the problem after i created 3 pages about it, evantually i decided i will open it as admin until its working, it seemed stupid but it worked, after about 50 trys in a row, it worked.

Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:I had this problem too, no
Thu, 11/24/2016 - 23:12

You are suppose to give admin permission. MCreator will not run otherwise. I guess I should of though about that. Actually, I did. One of the ideas I gave you was to start MCreator as "Run As Admin". :/

Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Run as Admin
Thu, 11/24/2016 - 23:13

As rustedpylo stated. Try running the program as admin.

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Open programm as rule admn
Tue, 06/20/2017 - 08:05

Open programm as rule admn

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please see you bit Pc 32-bit
Tue, 06/20/2017 - 08:33

Please see you bit Pc 32-bit?Dowland 32-bit MCreator !64-bit ?Dowland 64-bit MCreator

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do you have any other…
Thu, 02/08/2018 - 18:26

do you have any other programs open it always fails for me when i have any other program open

Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
REINSTALL AND INSTALL!…
Fri, 02/09/2018 - 19:04

REINSTALL AND INSTALL! REPEAT IT BUT YOU CAN STOP IT WHEN IT WORK!