If your Minecraft server does not start, please check the server logs, for example at /logs/console/minecraft-console.log.

If you find an error there, try to understand and fix it. If you can’t figure out the error, you can also create a problem-report and send it to the support.

Alternatively, you can also try to change the Java version.

Error: UnsupportedClassVersionError

Error: LinkageError occurred while loading main class net.minecraft.server.Main java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0

The correct Java version was not selected. Change the Java version to /usr/lib/jdk-16.0.1/bin/java.

Error: InvocationTargetException

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) […]

Wahrscheinlich verwendest Du eine etwas ältere Version von Minecraft. In diesem Fall benötigst Du auch eine etwas ältere Java-Version. Ändere die Java-Version auf /usr/lib/jre1.8.0_241/bin/java