java.lang.LinkageError: loader constraint violation: when resolving method "org.pircbotx.UserSnapshot.<init>(Lorg/pircbotx/User;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, org/pircbotx/User, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, org/pircbotx/UserSnapshot, have different Class objects for the type (Lorg/pircbotx/User;)V used in the signature

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by shane-smith
, 1 year ago
loader constraint violation: when resolving method "org.pircbotx.UserSnapshot.<init>(Lorg/pircbotx/User;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, org/pircbotx/User, and the class loader
java.lang.LinkageError: loader constraint violation: when resolving method "org.pircbotx.UserSnapshot.<init>(Lorg/pircbotx/User;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, org/pircbotx/User, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, org/pircbotx/UserSnapshot, have different Class objects for the type (Lorg/pircbotx/User;)V used in the signature
at org.pircbotx.User.generateSnapshot(User.java:89)
at org.pircbotx.PircBotX.handleLine(PircBotX.java:1709)
at org.pircbotx.InputThread.run(InputThread.java:104)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.