balena-minecraft-server icon indicating copy to clipboard operation
balena-minecraft-server copied to clipboard

[BUG] Server error on boot

Open viedok opened this issue 4 years ago • 1 comments

Describe the bug On boot of the server, it looks like java has an issue starting the jar, it shows this specific error : Error: Could not find or load main class true Caused by: java.lang.ClassNotFoundException: true

To Reproduce Steps to reproduce the behavior:

  1. Just attempting to start the server as usual. (On the latest paper 1.18 build : 42)

Expected behavior The server starting

Screenshots

Capture d’écran 2021-12-05 à 14 43 04

Raspberry Pi 4 B (8G):

  • OS: balenaOS 2.87.16+rev1
  • Version 12.11.0

Minecraft (please complete the following information):

  • Device: MacBook Pro
  • OS: Macos Monterey
  • Minecraft Java Edition
  • Minecraft Version 1.18

viedok avatar Dec 05 '21 13:12 viedok

Okay I just realised what was breaking the server. I had these device variables: FLAGS = true ZGC_FLAGS = true but the correct way to use these variables is actually: ZGC_FLAGS = true I just badly read the code hahahah, sorry.

viedok avatar Dec 05 '21 14:12 viedok