Startup Issue with Minecraft - could not start the server

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Callisto’ v2.5.0.10 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Failed

Problem Description


the instance is unable to start and i can’t figure out what this error ir ''Error: Could not find or load main class

Reproduction Steps

  • i created the server
  • i installed the forge version
  • i added a mods folder and installed my mods
  • the server could not start and it says this message ‘‘Error: Could not find or load main class’’

You need to use Java 17 with that version of MC