WiseHosting Server Error: Invalid or Corrupt server.jar
- Share this discussion
- Copy link
- Share on X (Twitter)
Whenever I start the server it says โinvalid or corrupt server filesโ
[WiseHosting Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
[WiseHosting Daemon]: Checking server disk space usage, this could take a few seconds...
[WiseHosting Daemon]: Updating process configuration files...
[WiseHosting Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container~ Server marked as starting...
[WiseHosting Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[WiseHosting Daemon]: Finished pulling Docker container image
container~ java -version
openjdk version "21.0.10" 2026-01-20 LTS
OpenJDK Runtime Environment Temurin-21.0.10+7 (build 21.0.10+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.10+7 (build 21.0.10+7-LTS, mixed mode, sharing)
container~ java -Xms128M -XX:MaxRAMPercentage=85.0 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Dterminal.jline=false -Dterminal.ansi=true -jar server.jar
Error: Invalid or corrupt jarfile server.jar
container~ Server marked as offline...
[WiseHosting Daemon]: ---------- Detected server process in a crashed state! ----------
[WiseHosting Daemon]: Exit code: 1
[WiseHosting Daemon]: Out of memory: false
huh
wth that was the first time Ive sent that
https://paste.wisehosting.com/lomihetuwo.sql
sry
its server.jar

Thanks bro
Yeah its up Ty for helping
Well the Akinator was right

Actually I have a question
Whenever I try to join from a client-side it tells me to use NeoForge 21.1.192 to join but that goes against almost all of my mods?
No
Actually how do I dowload a different one from the github the only options are Forge Fabric and NeoForge
and I used NeoForge'
No I use NeoForge as my launcher on both sides
I just dont know which version to use
I use PrismLauncher
1.21.1-21.1.228
How exactly do I do that?
So do I just add it to the file directory?
So I ended up switching everything to forge and it seems to work