Build failed

Status
Duplicate
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I just don't know what to do. When I try to recompile, this happens

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.0, 64-bit, 3891 MB, Windows 10, JVM 1.8.0_172
(c) 2018 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo\MCreator180\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
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
[Fatal Error] maven-artifact-3.5.3.pom:2:1: Content is not allowed in prolog.
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
> Could not resolve all dependencies for configuration ':forgeGradleMcDeps'.
> Could not resolve com.google.code.findbugs:jsr305:3.0.1.
     Required by:
         com.yourname.modid:forge:1.0
> Could not resolve com.google.code.findbugs:jsr305:3.0.1.
> Could not parse Ivy file C:\Users\Gustavo\.mcreator\gradle\caches\modules-2\metadata-2.16\descriptors\com.google.code.findbugs\jsr305\3.0.1\4471c3b2f5ea2d40ffaa8b3948cdbacd\ivy.xml
> Content is not allowed in prolog.
     Required by:
         com.yourname.modid:forge:1.0
> Could not resolve oshi-project:oshi-core:1.1.
> Could not parse Ivy file C:\Users\Gustavo\.mcreator\gradle\caches\modules-2\metadata-2.16\descriptors\oshi-project\oshi-core\1.1\1a583fa30149d818dec07b24fb2d3986\ivy.xml
> Content is not allowed in prolog.
> Could not resolve com.ibm.icu:icu4j-core-mojang:51.2.
     Required by:
         com.yourname.modid:forge:1.0
> Could not resolve com.ibm.icu:icu4j-core-mojang:51.2.
> Could not parse Ivy file C:\Users\Gustavo\.mcreator\gradle\caches\modules-2\metadata-2.16\descriptors\com.ibm.icu\icu4j-core-mojang\51.2\1a583fa30149d818dec07b24fb2d3986\ivy.xml
> Content is not allowed in prolog.
> Could not resolve net.sf.jopt-simple:jopt-simple:5.0.3.
     Required by:
         com.yourname.modid:forge:1.0
> Could not resolve net.sf.jopt-simple:jopt-simple:5.0.3.
> Could not parse Ivy file C:\Users\Gustavo\.mcreator\gradle\caches\modules-2\metadata-2.16\descriptors\net.sf.jopt-simple\jopt-simple\5.0.3\4471c3b2f5ea2d40ffaa8b3948cdbacd\ivy.xml

....


* 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: 36 mins 26.726 secs
C:\Pylo\MCreator180\forge>
Task completed with return code 0 in 2221478 milliseconds

 

Issue comments

The error you provided can be caused by any of these causes:

  • No internet connection
  • Slow internet connection
  • Firewall (on the computer, router or modem) blocking MCreator
  • AV blocking MCreator
  • ISP blocking MCreator or domains it is trying to access

Try to access one of the URLs in the log from the browser. If you can not access these files there too, it is an issue in general, otherwise, you can assume only MCreator got blocked when trying to access these files.

its not working i tried to make all the it bu nothing is working!

Did you rule out all these?

  • No internet connection
  • Slow internet connection
  • Firewall (on the computer, router or modem) blocking MCreator
  • AV blocking MCreator
  • ISP blocking MCreator or domains it is trying to access


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.