Skip to content
Try a Minecraft server free. No card needed.48 hours free
AwakeNode
Find my serverMinecraft plansFree trialPay-to-PlayWikiSupport
Legacy billingClient DashboardView plans
Error fixes

Error fix

java.lang.NoClassDefFoundError / ClassNotFoundException

Learn how to resolve java.lang.NoClassDefFoundError and ClassNotFoundException errors on your Minecraft server with our step-by-step troubleshooting guide.

AwakeNode Team · Reviewed by Harry · Updated 15 Oct 2026

Understanding the Error

java.lang.NoClassDefFoundError and java.lang.ClassNotFoundException are common Java errors that occur when the server attempts to load a class that is missing from the classpath. In the context of a Minecraft server, this usually means a plugin, mod, or library file is either corrupted, incompatible with your server version, or missing a required dependency.

How to fix it

1. Check for missing dependencies

Many plugins require other plugins (like Vault or ProtocolLib) to function. If you have installed a plugin without its required dependencies, the server will fail to load the class.

  • On AwakeNode: Use the File Manager to inspect your plugins folder. Ensure all required dependencies are present and match the versions specified by the plugin developer.
  • On other hosts: Use an SFTP client like FileZilla to browse your server files and verify that all dependency JAR files are present in the plugins or mods directory.

2. Verify plugin and mod compatibility

Using a plugin or mod designed for a different Minecraft version often leads to class errors. Ensure every file in your plugins or mods folder is compatible with your current server version.

  • On AwakeNode: Check the files in your plugins or mods folder in the Files tab, and replace any that aren't built for your server software and Minecraft version.
  • On other hosts: Manually download the correct versions from official sources (SpigotMC, Modrinth, or CurseForge) and replace the incompatible files.

3. Clear corrupted files

Sometimes a file can become corrupted during an upload or update.

  • On AwakeNode: Delete the problematic plugin or mod via the File Manager and re-upload a fresh copy.
  • On other hosts: Delete the JAR file from your server directory and upload a fresh copy using SFTP.

4. Contact Support

If you have verified your files and the error persists, it may be related to the Java environment or startup configuration.

  • On AwakeNode: Open a ticket. To add your own JVM flags, set a custom startup command in your server's tab.
AwakeNode

Minecraft server hosting in UK or EU locations. Built by players, for players.

Open a support ticket

Minecraft

  • Minecraft plans
  • Modpack servers
  • Pay-to-Play with friends
  • 48-hour free trial
  • Common questions

Support

  • Wiki and guides
  • Client Dashboard
  • Open a support ticket
  • Legacy game panel (existing servers)
  • Legacy billing (existing accounts)

Company

  • Contact us
  • VPS hosting
  • Terms of service
  • Privacy policy
  • Uptime SLA
Support
Startup
  • On other hosts: Check your startup script for incorrect classpath definitions or contact your hosting provider's support team.
  • Questions

    What is the difference between NoClassDefFoundError and ClassNotFoundException?+

    ClassNotFoundException occurs when the application tries to load a class that cannot be found, while NoClassDefFoundError occurs when the class was present at compile time but is missing at runtime.

    Can I fix this by changing my RAM settings?+

    No, these errors are related to missing or incompatible files, not the amount of RAM allocated to your server.

    Do I need to restart my server after deleting a problematic plugin?+

    Yes, you must restart your server for any changes to the plugins or mods folder to take effect.

    Where can I find the specific file causing the error?+

    The error will usually be printed in your latest.log file, which will point to the specific plugin or mod causing the crash.

    More error fixes

    java.lang.NoSuchMethodError / NoSuchFieldErrorLearn how to resolve java.lang.NoSuchMethodError and NoSuchFieldError on your Minecraft server by identifying version mismatches and plugin conflicts.Exception in server tick loopLearn how to diagnose and resolve the 'Exception in server tick loop' error on your Minecraft server with our step-by-step troubleshooting guide.java.net.SocketException: Connection resetTroubleshoot the java.net.SocketException: Connection reset error on your Minecraft server. Learn how to diagnose network and client-side issues.Description: Ticking entityLearn how to diagnose and resolve the 'Ticking Entity' error on your Minecraft server. Follow our step-by-step guide to restore your world stability.

    Start a Minecraft server

    Java or Bedrock, vanilla or modded, with a console, file manager and backups.

    See plans
  • AwakeNode is a trading name of Falcon Hosting Ltd.
    © 2026 Falcon Hosting Ltd.

    Registered in England & Wales · Company No. 15676555 · ICO registration ZB377567
    Registered office: Anglo Dal House, 5 Spring Villa Park, Spring Villa Road, Edgware, Middlesex, HA8 7EB, United Kingdom