GRADLE_BUILD_FAILED [-23] - Repeated Installation Error

Published by SnortCZ on Wed, 06/20/2018 - 11:43
Status
Duplicate
Type
Product/platform
Not applicable
Priority
Normal
Issue description

When I needed MCreator Then It Showed Window With Error, It´s Code: GRADLE_BUILD_FAILED [-23]

Issue comments

Please provide the error log from the Gradle console as the window instructed you to do.

Gradle task failed and MCreator was not able to detect a reason for the error. Try to redo your last action again and this time it might work. If the error persists, look at log to examine the error.

i try to open the log but it instantly says MCreator setup failed!

ERROR CODE: MCREATOR_SETUP_FAIL

and it keeps failing, i copyed the error log and here is what i got

  
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.17134.112]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\alexb\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-ee3e3df       
  https://github.com/MinecraftForge/ForgeGradle 
#################################################
                 Powered by MCP                 
             http://modcoderpack.com            
     by: Searge, ProfMobius, R4wk, ZeuX         
     Fesh0r, IngisKahn, bspkrs, LexManos        
#################################################
:cleanCache FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':cleanCache'.
> Unable to delete file: C:\Users\alexb\.mcreator\gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-14.23.2.2611\snapshot\20171003\forge-1.12.2-14.23.2.2611-decomp.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 50.978 secs
C:\Pylo\MCreator179\forge>
Task completed with return code 0 in 57653 milliseconds

 

ok reinstalling it does nothing but i can send you the log again

  
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.17134.112]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\alexb\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'forge'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.google.guava:guava:18.0.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve com.google.guava:guava:18.0.
> Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom'.
> Could not HEAD 'https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom'.
> jcenter.bintray.com
> Could not resolve net.sf.opencsv:opencsv:2.3.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve net.sf.opencsv:opencsv:2.3.
> Could not get resource 'https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom'.
> Could not HEAD 'https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom'.
> jcenter.bintray.com
> Could not resolve com.cloudbees:diff4j:1.1.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve com.cloudbees:diff4j:1.1.
> Could not get resource 'https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom'.
> Could not HEAD 'https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom'.
> jcenter.bintray.com
> Could not resolve com.github.abrarsyed.jastyle:jAstyle:1.3.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve com.github.abrarsyed.jastyle:jAstyle:1.3.
> Could not get resource 'https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jA…'.
> Could not HEAD 'https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jA…'.
> jcenter.bintray.com
> Could not resolve net.sf.trove4j:trove4j:2.1.0.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve net.sf.trove4j:trove4j:2.1.0.
> Could not get resource 'https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0…'.
> Could not HEAD 'https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0…'.
> jcenter.bintray.com
> Could not resolve com.github.jponge:lzma-java:1.3.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve com.github.jponge:lzma-java:1.3.
> Could not get resource 'https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1…'.
> Could not HEAD 'https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1…'.
> jcenter.bintray.com
> Could not resolve com.nothome:javaxdelta:2.0.1.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve com.nothome:javaxdelta:2.0.1.
> Could not get resource 'https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0…'.
> Could not HEAD 'https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0…'.
> jcenter.bintray.com
> Could not resolve com.google.code.gson:gson:2.2.4.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve com.google.code.gson:gson:2.2.4.
> Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4…'.
> Could not HEAD 'https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4…'.
> jcenter.bintray.com
> Could not resolve com.github.tony19:named-regexp:0.2.3.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve com.github.tony19:named-regexp:0.2.3.
> Could not get resource 'https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-…'.
> Could not HEAD 'https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-…'.
> jcenter.bintray.com
> Could not resolve org.apache.httpcomponents:httpclient:4.3.3.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve org.apache.httpcomponents:httpclient:4.3.3.
> Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…'.
> Could not HEAD 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…'.
> jcenter.bintray.com
> Could not resolve org.apache.httpcomponents:httpmime:4.3.3.
     Required by:
:forge:unspecified
      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
> Could not resolve org.apache.httpcomponents:httpmime:4.3.3.
> Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/ht…'.
> Could not HEAD 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/ht…'.
> jcenter.bintray.com
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 21.876 secs
C:\Pylo\MCreator179\forge>
Task completed with return code 0 in 24518 milliseconds

i thought i was the only one because this chat had only me and you in it

 



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.