Vai al contenuto

An extension expects code that is unavailable

The server looks for a Java class and cannot find it. A required library or another mod is often missing. An unsuitable version may also have removed a previously available class.

An example of this log message

java.lang.NoClassDefFoundError: some/Mod/Class

Read the class path and calling plugin

Keep the complete class name and look in the same error block for the extension calling it. Compare its documented dependencies with installed files. Check earlier loading errors too: a dependency that exists but failed to start may also be unavailable to the next extension.

Add the compatible dependency

Back up the setup and install the required component in a compatible release. If the failure began directly after an update, examine the previous matching version pair. Restart fully and check the loading order.

Questions about this error

May I download the individual class?

Arbitrary class files are not an appropriate repair. Use the complete extension from its trusted source.

Why does the error remain when the file exists?

Existence does not establish that it loaded successfully or contains the required class.

Check a connected log excerpt