MCreator build doesn't work - Could not resolve

Published by KJW2003 on
Status
Fixed
Issue description

1.12.2

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.17134.228]
(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\Kade\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" 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] codecjorbis-20101023.pom:2:1: Content is not allowed in prolog.
[Fatal Error] libraryjavasound-20101123.pom:2:1: Content is not allowed in prolog.
[Fatal Error] librarylwjglopenal-20100824.pom:2:1: Content is not allowed in prolog.
[Fatal Error] soundsystem-20120107.pom:2:1: Content is not allowed in prolog.
[Fatal Error] jinput-2.0.5.pom:2:1: Content is not allowed in prolog.
[Fatal Error] jinput-2.0.5.pom:2:1: Content is not allowed in prolog.
[Fatal Error] lwjgl-2.9.4-nightly-20150209.pom:2:1: Content is not allowed in prolog.
[Fatal Error] lwjgl_util-2.9.4-nightly-20150209.pom:2:1: Content is not allowed in prolog.
[Fatal Error] vecmath-1.5.2.pom:2:1: Content is not allowed in prolog.
[Fatal Error] java-objc-bridge-1.0.0.pom:2:1: Content is not allowed in prolog.
[Fatal Error] java-objc-bridge-1.0.0.pom:2:1: Content is not allowed in prolog.
[Fatal Error] jansi-1.11.pom:2:1: Content is not allowed in prolog.
[Fatal Error] scala-actors-2.11.0.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.paulscode:codecjorbis:20101023.
Required by:
com.yourname.modid:forge:1.0
> Could not resolve com.paulscode:codecjorbis:20101023.
> Could not parse POM https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/code…
> Content is not allowed in prolog.
> Could not resolve com.paulscode:libraryjavasound:20101123.
Required by:
com.yourname.modid:forge:1.0
> Could not resolve com.paulscode:libraryjavasound:20101123.
> Could not parse POM https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123…
> Content is not allowed in prolog.
> Could not resolve com.paulscode:librarylwjglopenal:20100824.
Required by:
com.yourname.modid:forge:1.0
> Could not resolve com.paulscode:librarylwjglopenal:20100824.
> Could not parse POM https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/201008…
> Content is not allowed in prolog.
> Could not resolve com.paulscode:soundsystem:20120107.
Required by:
com.yourname.modid:forge:1.0
com.yourname.modid:forge:1.0 
      > com.paulscode:codecwav:20101023
> Could not resolve com.paulscode:soundsystem:20120107.
> Could not parse POM https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soun…
> Content is not allowed in prolog.
> Could not resolve net.java.jinput:jinput:2.0.5.
Required by:
com.yourname.modid:forge:1.0
> Could not resolve net.java.jinput:jinput:2.0.5.
> Could not parse POM https://repo1.maven.org/maven2/net/java/jinput/jinput/2.0.5/jinput-2.0…
> Content is not allowed in prolog.
> Could not resolve net.java.jinput:jinput:2.0.5.
> Could not parse POM https://libraries.minecraft.net/net/java/jinput/jinput/2.0.5/jinput-2.0…
> Content is not allowed in prolog.
> Could not resolve org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209.
Required by:
com.yourname.modid:forge:1.0
> Could not resolve org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209.
> Could not parse POM https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-201…
> Content is not allowed in prolog.
> Could not resolve org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209.
Required by:
com.yourname.modid:forge:1.0
> Could not resolve org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209.
> Could not parse POM https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightl…
> Content is not allowed in prolog.
> Could not resolve java3d:vecmath:1.5.2.
Required by:
com.yourname.modid:forge:1.0
> Could not resolve java3d:vecmath:1.5.2.
> Could not parse POM https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.pom
> Content is not allowed in prolog.
> Could not resolve ca.weblite:java-objc-bridge:1.0.0.
Required by:
com.yourname.modid:forge:1.0 
      > com.mojang:text2speech:1.10.3
> Could not resolve ca.weblite:java-objc-bridge:1.0.0.
> Could not parse POM https://repo1.maven.org/maven2/ca/weblite/java-objc-bridge/1.0.0/java-o…
> Content is not allowed in prolog.
> Could not resolve ca.weblite:java-objc-bridge:1.0.0.
> Could not parse POM https://libraries.minecraft.net/ca/weblite/java-objc-bridge/1.0.0/java-…
> Content is not allowed in prolog.
> Could not resolve org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209.
Required by:
com.yourname.modid:forge:1.0 
      > net.minecraft:launchwrapper:1.12
> Could not resolve org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209.
> Could not parse POM https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-201…
> Content is not allowed in prolog.
> Could not resolve org.fusesource.jansi:jansi:1.11.
Required by:
com.yourname.modid:forge:1.0 
      > jline:jline:2.13
> Could not resolve org.fusesource.jansi:jansi:1.11.
> Could not parse POM https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1…
> Content is not allowed in prolog.
* 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: 1 mins 40.592 secs
C:\Pylo\MCreator179\forge>
Task completed with return code 0 in 101180 milliseconds

Issue comments

Next time, specify the version of MCreator in the ticket header.

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.

Not really, files are not only stored in workspace but in <user folder>/.mcreator and even if you got these files, it would not work properly without internet access.