Topic category: Troubleshooting, bugs, and solutions
MCreator Version: 2021.2
Issue:
To keep it short: Whenever I try to run the client, it fails. All of this happens in a fresh new workspace.
Console Output:
Executing Gradle task: runClient
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 8117 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Task :compileJava UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createSrgToMcp FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':createSrgToMcp' (type 'GenerateSRG').
- In plugin 'net.minecraftforge.gradle' type 'net.minecraftforge.gradle.mcp.tasks.GenerateSRG' property 'srg' specifies file 'E:\mcreatormods\build\extractSrg\output.srg' which doesn't exist.
Reason: An input file was expected to be present but it doesn't exist.
Possible solutions:
1. Make sure the file exists before the task is called.
2. Make sure that the task which produces the file is declared as an input.
Please refer to https://docs.gradle.org/7.1.1/userguide/validation_problems.html#input_… for more details about this problem.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 1s
5 actionable tasks: 2 executed, 3 up-to-date
BUILD FAILED
Task completed in 2 seconds