Jump to content

Noclassdeffound error, please help


Brennan Kelly

Recommended Posts

I have been playing on a server with my friends for a while using curseforge. All of a sudden the other night i cannot go into a specific room we built. I comes up with the following error:

 

[Server thread/WARN] [Canary Class Analysis/]: Canary Class Analysis Error: Class com.talhanation.smallships.entities.AbstractCannonShip cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: com/mojang/blaze3d/vertex/PoseStack. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @OnlyIn(value=Dist.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Canary handles this error by assuming the class cannot be included in some optimizations.

 

I have reinstalled the modpack profile many times to no avail. Any help would be greatly appreciated!

Link to comment
Share on other sites

Post your logs/debug.log from the server so we can see the actual problem.

From the information you show, the canary mod is trying to load a client class on the server, specifically by loading a class from the smallships mod that references a client class.

But the warning suggests this is not the real problem.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.