Your Workspace contains mod elements that don't compile properly.

Started by Thorn_132 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 11:14, 17. Dec 2023
Joined Oct 2020

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your Workspace contains mod elements that don't compile properly.

Executing Gradle task: build
Build info: MCreator 2021.2.31709 EAP (31709), forge-1.16.5, 64-bit, 7934 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Users\EMka2\OneDrive\Dokumenty\MCreator Snapshots\MCreator.EAP.2021.2.b31709.Windows.64bit\MCreatorEAP20212b31709\jdk
> Task :compileJava FAILED
C:\Users\EMka2\MCreatorWorkspaces\the_argocellum_ancient_symbol\src\main\java\argocellumsymbol\ error: class ClientEventBus is public, should be declared in a file named public class ClientEventBus {
1 error
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
1 actionable task: 1 executed
Task completed in 4 seconds


Bold text: I think it has something to do with this but I don't understand it. :(