Error Your workspace contains mod elements..

Started by Vovas on Wed, 04/07/2021 - 12:56

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:18, 5. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Error Your workspace contains mod elements..
Wed, 04/07/2021 - 12:56

I made a gui for my block, saved the mod element and wanted to play with MCreator and an error occurred, this is what was in the console

 

 

Executing Gradle task: runClient
Build info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 4042 MB, Windows 7, JVM 1.8.0_265, 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:\MCreatorWorkspaces\veltarpg\src\main\java\net\mcreator\veltarpg\gui\RulerNdaGui.java:191: 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 8s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 93821 milliseconds
 

The solution to this problem…
Thu, 04/08/2021 - 19:00

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.