Posted October 13, 201213 yr I've got a coremod which uses snakeyaml, gson and some other libraries. I'm trying to download them using one ILibrarySet, but for some reason FML seems to be stripping everything except the last section of the folder path. I'm downloading the libraries from maven, and FML prints out the libraries OK in the log: 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean. 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-2.25.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.9/snakeyaml-1.9.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/xerial/sqlite-jdbc/3.7.2/sqlite-jdbc-3.7.2.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/avaje/ebean/2.8.1/ebean-2.8.1.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.3/commons-lang-2.3.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/com/google/code/gson/2.2.2/gson-2.2.2.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] <===========> But when it's downloading them, it shortens it to http://repo.maven.apache.org/maven2/snakeyaml-1.9.jar, for instance. So to fix this do I have to submit a patch, or am I just doing something wrong? And here's the log: 2012-10-13 17:23:33 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.30.390 for Minecraft client:1.3.2, server:1.3.2 loading 2012-10-13 17:23:33 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/snakeyaml-1.9.jar 2012-10-13 17:23:34 [sEVERE] [ForgeModLoader] There was a problem downloading the file snakeyaml-1.9.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again 2012-10-13 17:23:34 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/sqlite-jdbc-3.7.2.jar 2012-10-13 17:23:34 [sEVERE] [ForgeModLoader] There was a problem downloading the file sqlite-jdbc-3.7.2.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again 2012-10-13 17:23:34 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/ebean-2.8.1.jar 2012-10-13 17:23:35 [sEVERE] [ForgeModLoader] There was a problem downloading the file ebean-2.8.1.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again 2012-10-13 17:23:35 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/commons-lang-2.3.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] There was a problem downloading the file commons-lang-2.3.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again 2012-10-13 17:23:36 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/gson-2.2.2.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] There was a problem downloading the file gson-2.2.2.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean. 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-2.25.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.9/snakeyaml-1.9.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/xerial/sqlite-jdbc/3.7.2/sqlite-jdbc-3.7.2.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/avaje/ebean/2.8.1/ebean-2.8.1.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.3/commons-lang-2.3.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/com/google/code/gson/2.2.2/gson-2.2.2.jar 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] <===========> 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] The following is the errors that caused the setup to fail. They may help you diagnose and resolve the issue 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] <<< ==== >>> 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] The following is diagnostic information for developers to review. 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details java.lang.RuntimeException: A download error occured at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446) at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94) at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155) at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133) at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310) Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/snakeyaml-1.9.jar at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430) ... 5 more Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/snakeyaml-1.9.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596) at java.net.URLConnection.getContentLength(URLConnection.java:491) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429) ... 5 more 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details java.lang.RuntimeException: A download error occured at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446) at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94) at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155) at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133) at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310) Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/sqlite-jdbc-3.7.2.jar at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430) ... 5 more Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/sqlite-jdbc-3.7.2.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596) at java.net.URLConnection.getContentLength(URLConnection.java:491) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429) ... 5 more 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details java.lang.RuntimeException: A download error occured at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446) at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94) at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155) at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133) at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310) Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/ebean-2.8.1.jar at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430) ... 5 more Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/ebean-2.8.1.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596) at java.net.URLConnection.getContentLength(URLConnection.java:491) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429) ... 5 more 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details java.lang.RuntimeException: A download error occured at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446) at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94) at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155) at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133) at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310) Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/commons-lang-2.3.jar at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430) ... 5 more Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/commons-lang-2.3.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596) at java.net.URLConnection.getContentLength(URLConnection.java:491) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429) ... 5 more 2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details java.lang.RuntimeException: A download error occured at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446) at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94) at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155) at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133) at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310) Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/gson-2.2.2.jar at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430) ... 5 more Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/gson-2.2.2.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596) at java.net.URLConnection.getContentLength(URLConnection.java:491) at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429) ... 5 more EDIT: I submitted a pull request to FML which fixes this... Protip: try and find answers yourself before asking on the forum. It's pretty likely that there is an answer. Was I helpful? Give me a thank you! http://bit.ly/HZ03zy[/img] Tired of waiting for mods to port to bukkit? use BukkitForge! (now with a working version of WorldEdit!)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.