I can't export to JAR

Started by PiloteProdYT on Wed, 07/24/2019 - 18:24

Topic category: Help with MCreator software

Last seen on 16:00, 12. Oct 2019
Joined Jul 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I can't export to JAR
Wed, 07/24/2019 - 18:24

Hey, I just met an error, I think ... I can not export my mods in JAR
 I would love you to help me because I would like not to be late on one of my videos

Thx

Last seen on 16:00, 12. Oct 2019
Joined Jul 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
MCreator was not able to…
Wed, 07/24/2019 - 18:26

MCreator was not able to connect to the internet. Gradle tasks might not work.
   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.9.0, 64-bit, 7607 MB, Windows 10 - cmd, JVM 1.8.0_212, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
(c) 2018 Microsoft Corporation. Tous droits r‚serv‚s.
C:\Users\Ewan 
      Beraud\MCreatorWorkspaces\piloteaddons_1122>gradlew -Dorg.gradle.java.home="C:/Program Files/Pylo/MCreator/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" setupDecompWorkspace --refresh-dependencies 
Downloading https://services.gradle.org/distributions/gradle-4.4-bin.zip
Exception in thread "main" java.net.UnknownHostException: services.gradle.org
   at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184
   at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
   at java.net.Socket.connect(Socket.java:589
   at java.net.Socket.connect(Socket.java:589)
   at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666
   at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
   at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173
   at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
   at sun.net.NetworkClient.doConnect(NetworkClient.java:180
   at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
   at sun.net.www.http.HttpClient.openServer(HttpClient.java:463
   at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
   at sun.net.www.http.HttpClient.openServer(HttpClient.java:558
   at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
   at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264
   at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
   at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367
   at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191
   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(…
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.jav…
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java…
   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177
   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractD…
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…
   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263
   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnec…
   at org.gradle.wrapper.Download.downloadInternal(Download.java:66
   at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
   at org.gradle.wrapper.Download.download(Download.java:51
   at org.gradle.wrapper.Download.download(Download.java:51)
   at org.gradle.wrapper.Install$1.call(Install.java:62
   at org.gradle.wrapper.Install$1.call(Install.java:62)
   at org.gradle.wrapper.Install$1.call(Install.java:48
   at org.gradle.wrapper.Install$1.call(Install.java:48)
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
   at org.gradle.wrapper.Install.createDist(Install.java:48
   at org.gradle.wrapper.Install.createDist(Install.java:48)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
C:\Users\Ewan 
      Beraud\MCreatorWorkspaces\piloteaddons_1122>
Task completed with return code 0 in 1748 milliseconds
   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.9.0, 64-bit, 7607 MB, Windows 10 - cmd, JVM 1.8.0_212, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
(c) 2018 Microsoft Corporation. Tous droits r‚serv‚s.
C:\Users\Ewan 
      Beraud\MCreatorWorkspaces\piloteaddons_1122>gradlew -Dorg.gradle.java.home="C:/Program Files/Pylo/MCreator/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" setupDecompWorkspace --refresh-dependencies 
Downloading https://services.gradle.org/distributions/gradle-4.4-bin.zip
........................................................................
Unzipping C:\Users\Ewan Beraud\.mcreator\gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi\gradle-4.4-bin.zip to C:\Users\Ewan Beraud\.mcreator\gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi
Starting a Gradle Daemon (subsequent builds will be faster)
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0…
Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jA…
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7…
Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1…
Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0…
Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-pa…
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4…
Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-cl…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/ht…
Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project…
Download https://jcenter.bintray.com/com/cloudbees/cloudbees-oss-parent/1/cloudb…
Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
Download http://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1…
Download http://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1…
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localize…
Download https://jcenter.bintray.com/commons-io/commons-io/1.4/commons-io-1.4.pom
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer-parent/1.12/l…
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/7/commons…
Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/ht…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-co…
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-cod…
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commo…
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/22/common…
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/28/common…
Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar
Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.jar
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar
Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1…
Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0…
Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0…
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/ht…
Download http://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localize…
Download https://jcenter.bintray.com/commons-io/commons-io/1.4/commons-io-1.4.jar
Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/ht…
Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-…
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commo…
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-cod…
Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jA…
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'piloteaddons_1122'.
> Could not resolve all files for configuration ':classpath'.
> Could not download ForgeGradle.jar (net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT)
> Could not get resource 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…'.
> Read timed out
* 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 5m 15s
C:\Users\Ewan 
      Beraud\MCreatorWorkspaces\piloteaddons_1122>
Task completed with return code 0 in 315843 milliseconds
   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.9.0, 64-bit, 7607 MB, Windows 10 - cmd, JVM 1.8.0_212, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
(c) 2018 Microsoft Corporation. Tous droits r‚serv‚s.
C:\Users\Ewan 
      Beraud\MCreatorWorkspaces\piloteaddons_1122>gradlew -Dorg.gradle.java.home="C:/Program Files/Pylo/MCreator/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" setupDecompWorkspace --refresh-dependencies 
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-7764e3e        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-…
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-…
:extractUserdev FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':forgeGradleUserDevPackage'.
> Could not download forge-userdev.jar (net.minecraftforge:forge:1.12.2-14.23.5.2768)
> Could not get resource 'https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-…'.
> Read timed out
* 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 28s
4 actionable tasks: 4 executed
C:\Users\Ewan 
      Beraud\MCreatorWorkspaces\piloteaddons_1122>
Task completed with return code 0 in 89453 milliseconds

From: https://mcreator.net…
Thu, 07/25/2019 - 09:48

From: https://mcreator.net/support/knowledgebasehttps://mcreator.net/wiki/gradle-setup-errors:

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.