[FIXED]Gui With Slots Causes :compileJava to Fail.

Started by Latokike on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 16:26, 22. Feb 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[FIXED]Gui With Slots Causes :compileJava to Fail.
Tue, 11/17/2020 - 21:08 (edited)

[FIXED] So I've been working on a mod for some time now, and it has come to the point where it needs pieces of GUI, with slots. I've tried making a GUI, rebuilding the workspace, a different PC, ect, but nothing seems to work. Here is the console tab when I try to make a gui with slots:

Executing Gradle task: build
Build info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 16305 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava
C:\Users\latokike\MCreatorWorkspaces\more_swords_and_tools\src\main\java\net\mcreator\moreswordsandtools\gui\SlotGuiGui.java:186: error: Override is not a repeatable annotation type @Override
^
1 error
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* 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 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 4s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 10882 milliseconds

Edited by Latokike on Tue, 11/17/2020 - 21:08
Override is not a repeatable…
Wed, 11/04/2020 - 09:40

Override is not a repeatable annotation type @Override

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.

Last seen on 16:26, 22. Feb 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok!
Thu, 11/05/2020 - 00:38

Ok!

Last seen on 21:56, 13. Nov 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i'm having the same problem…
Sat, 12/05/2020 - 16:16

i'm having the same problem too, Klebes you think you could add a plugin over this "Override" thing? + probs the GUI thing as well? i'm need some way to get past this bug, and if needed i might share the modd with a 7zip format or zip please?