Gradle task failed

Started by bpsyscraft on Wed, 11/23/2016 - 18:13

Topic category: Help with MCreator software

Last seen on 21:22, 24. Nov 2016
Joined May 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Gradle task failed
Wed, 11/23/2016 - 18:13

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?

Last seen on 21:22, 24. Nov 2016
Joined May 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
.......
Thu, 11/24/2016 - 05:15

.......

Last seen on 15:42, 5. Nov 2017
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 18:49, 7. Nov 2020
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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". :/

Last seen on 18:49, 7. Nov 2020
Joined Dec 2013
User points:

User statistics:

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

As rustedpylo stated. Try running the program as admin.

Last seen on 19:09, 15. Jul 2017
Joined Oct 2015
User points:

User statistics:

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

Open programm as rule admn

Last seen on 19:09, 15. Jul 2017
Joined Oct 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 16:12, 12. Nov 2020
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 19:29, 27. Sep 2020
Joined Oct 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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!