Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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.

Posted
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.

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.