Posted October 10, 20168 yr Hi all, I've been working on my mod on my PC at home which has windows. I'm currently on vacation and trying to work on it from my laptop which runs Linux Mint. I cloned my repo into a folder and attempted to run ./gradlew setupDecompWorkspace . This resulted in a permission denied error, so I used sudo chmod +x gradlew . This allows me to run ./gradlew, but it fails after about 3 seconds every time, giving me this: FAILURE: Build failed with an exception. * Where: Build file '/home/andrew/Mods/1.10.2/technika/build.gradle' line: 15 * What went wrong: A problem occurred evaluating root project 'technika'. > net/minecraftforge/gradle/tasks/GenSrgs * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. BUILD FAILED I figured it might just be a problem with my instance, so I downloaded a fresh version of forge and ran it and it's giving me the exact same error. I'm on minecraft 1.10.2 forge version 12.18.2.2099 - Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.
October 10, 20168 yr Run it again with the --stacktrace option (as it says in the log) and post the full output. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
October 10, 20168 yr Author sorry, I did that initially, but didn't think to post it here. http://pastebin.com/jTeVxEeq Don't know why it would throw a NoClassDefFoundError on a fresh install of forge.. strange - Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.
October 10, 20168 yr Caused by: java.lang.ClassNotFoundException: net.minecraftforge.gradle.tasks.GenSrgs ... Caused by: java.io.EOFException: Detect premature EOF It looks like ForgeGradle is corrupted, possibly because it didn't download fully. Try deleting ~/.gradle/caches/modules-2/files-2.1/net.minecraftforge.gradle/ForgeGradle/2.2-SNAPSHOT, ~/.gradle/caches/modules-2/metadata-2.15/descriptors/net.minecraftforge.gradle/ForgeGradle/2.2-SNAPSHOT, ~/.gradle/caches/modules-2/metadata-2.16/descriptors/net.minecraftforge.gradle/ForgeGradle/2.2-SNAPSHOT and ~/.gradle/caches/modules-2/metadata-2.21/descriptors/net.minecraftforge.gradle/ForgeGradle/2.2-SNAPSHOT and then re-run setupDecompWorkspace . Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
October 10, 20168 yr Author Not sure how it ended up like that but deleting those fixed it. Thanks! - Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.
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.