I know I am 1 year late. I have the exact same problem with the exact same forge version. I couldn't fix it. So I just moved to mod 1.7.10 instead. I have the fernflower-fixed.jar thingy in my pc, but whenever decompileMC runs, it deletes the fernflower-fixed.jar. I can give you the fernflower-fixed.jar file. Click this link https://drive.google.com/file/d/1ImTUslR4-C4jtHqtGZGPx-2leRBMiYYW/view?usp=sharing (or paste it). And download the thingy. Then paste it in C:\Users\{username}\.gradle\caches\minecraft and run the cmd and commands again. Also, it is better to update your gradle wrapper also. Go to your folder where you install forge 1.8 open gradle folder >> wrapper >> gradlewrapper.properties and change the distribution url's verison from 2.7-bin to 4.0-all. distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip. But before everything delete your old .gradle and .cache folders from users folder. If none works then go mod 1.7.10 or some other version that works for you
............(not showing the rest of the useless stuff to save space)
............
:getFernFlower UP-TO-DATE
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':decompileMc'.
> File 'C:\Users\username\.gradle\caches\minecraft\fernflower-fixed.jar' specified for property 'fernflower' does not exist.
* 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: 11.448 secs
Then I tried to do the same thing with forge 1.7.10 >> went to gradle >> wrappers >> gradle-wrappers.properties changed the last line to distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip and ran the command and it worked flawlessly.
Then I checked in my users folder >> username >> .gradle >> caches >> minecraft and there was a fernflower-fixed.jar created. I felt real happy about it because i couldn't find that .jar file for download in the internet. Then I immediately tried to run gradlew setupDecompWorkspace eclipse in my forge 1.8 and copy pasted the fernflower-fixed.jar somewhere else just in case something happens. And of course it did. When the decompileMC started running I check my .gradle\caches\minecraft folder and I saw the fernflower-fixed.jar being deleted right in front of my two big eyes. And then the above log came. I couldn't believe it, the command deleted the fernflower-fixed.jar and is blaming ME. I searched the whole internet but still couldn't find anything. So... since this is a forum made specifically for minecraft, TELL ME WTH IS GOING ON?!??!?
I have tried deleting the .gradle file from my user account, tried extracting a new forge 1.8 and doing everything again, tried changing the wrapper property to 4.0-all, I even tried setupDevWorkspace but then the java complains about missing all the packages of minecraft. It couldn't even figure out what an @Mod annotation was in example mod class. I even tried changing from java 1.8.0_311 to java 1.8.0_191. duh plzz there's got to be someone out there who can help meeeeeee.
0
I know I am 1 year late. I have the exact same problem with the exact same forge version. I couldn't fix it. So I just moved to mod 1.7.10 instead. I have the fernflower-fixed.jar thingy in my pc, but whenever decompileMC runs, it deletes the fernflower-fixed.jar. I can give you the fernflower-fixed.jar file. Click this link https://drive.google.com/file/d/1ImTUslR4-C4jtHqtGZGPx-2leRBMiYYW/view?usp=sharing (or paste it). And download the thingy. Then paste it in C:\Users\{username}\.gradle\caches\minecraft and run the cmd and commands again. Also, it is better to update your gradle wrapper also. Go to your folder where you install forge 1.8 open gradle folder >> wrapper >> gradlewrapper.properties and change the distribution url's verison from 2.7-bin to 4.0-all. distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip. But before everything delete your old .gradle and .cache folders from users folder. If none works then go mod 1.7.10 or some other version that works for you
0
I tried to run gradlew setupDecompWorkspace eclipse for forge 1.8 to create my own mod for the first time of course. And I get this hells message:
D:\New folder\MCForge.1.8-main>gradlew setupDecompWorkspace eclipse
Etag download for http://files.minecraftforge.net/maven/net/minecraftforge/forge/json failed with code 301
Error occurred parsing version!
............(not showing the rest of the useless stuff to save space)
............
:getFernFlower UP-TO-DATE
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':decompileMc'.
> File 'C:\Users\username\.gradle\caches\minecraft\fernflower-fixed.jar' specified for property 'fernflower' does not exist.
* 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: 11.448 secs
Then I tried to do the same thing with forge 1.7.10 >> went to gradle >> wrappers >> gradle-wrappers.properties changed the last line to distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip and ran the command and it worked flawlessly.
Then I checked in my users folder >> username >> .gradle >> caches >> minecraft and there was a fernflower-fixed.jar created. I felt real happy about it because i couldn't find that .jar file for download in the internet. Then I immediately tried to run gradlew setupDecompWorkspace eclipse in my forge 1.8 and copy pasted the fernflower-fixed.jar somewhere else just in case something happens. And of course it did. When the decompileMC started running I check my .gradle\caches\minecraft folder and I saw the fernflower-fixed.jar being deleted right in front of my two big eyes. And then the above log came. I couldn't believe it, the command deleted the fernflower-fixed.jar and is blaming ME. I searched the whole internet but still couldn't find anything. So... since this is a forum made specifically for minecraft, TELL ME WTH IS GOING ON?!??!?
I have tried deleting the .gradle file from my user account, tried extracting a new forge 1.8 and doing everything again, tried changing the wrapper property to 4.0-all, I even tried setupDevWorkspace but then the java complains about missing all the packages of minecraft. It couldn't even figure out what an @Mod annotation was in example mod class. I even tried changing from java 1.8.0_311 to java 1.8.0_191. duh plzz there's got to be someone out there who can help meeeeeee.