#(notasirany) Problems with IA

17 messages · Page 1 of 1 (latest)

ruby cipher
#

Hi, i use ItemsAdder but i got this in my console when i run for the first time my server with Citizens 2 and IA :

[17:42:08] [Server thread/WARN]: java.lang.NoClassDefFoundError: net/citizensnpcs/api/trait/Trait
[17:42:08] [Server thread/WARN]:     at java.base/java.lang.ClassLoader.defineClass1(Native Method)
[17:42:08] [Server thread/WARN]:     at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1027)
[17:42:08] [Server thread/WARN]:     at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
[17:42:08] [Server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:260)
[17:42:08] [Server thread/WARN]:     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
[17:42:08] [Server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:177)
[17:42:08] [Server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:172)
[17:42:08] [Server thread/WARN]:     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[17:42:08] [Server thread/WARN]:     at ItemsAdder (4.0.16).jar//dev.lone.itemsadder.Core.OtherPlugins.Citizens.CitizensHook.register(SourceFile:40)
[17:42:08] [Server thread/WARN]:     at ItemsAdder (4.0.16).jar//dev.lone.itemsadder.Main.onEnable(SourceFile:376)
[17:42:08] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:280)
[17:42:08] [Server thread/WARN]:     at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202)
[17:42:08] [Server thread/WARN]:     at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109)
[17:42:08] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520)
[17:42:08] [Server thread/WARN]:     at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:651)
[17:42:08] [Server thread/WARN]:     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:607)
[17:42:08] [Server thread/WARN]:     at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:743)
[17:42:08] [Server thread/WARN]:     at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:488)
[17:42:08] [Server thread/WARN]:     at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:280)
[17:42:08] [Server thread/WARN]:     at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1164)
[17:42:08] [Server thread/WARN]:     at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310)
[17:42:08] [Server thread/WARN]:     at java.base/java.lang.Thread.run(Thread.java:1583)
[17:42:08] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.trait.Trait
[17:42:08] [Server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:205)
[17:42:08] [Server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:172)
[17:42:08] [Server thread/WARN]:     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[17:42:08] [Server thread/WARN]:     ... 22 more```

and
warm finchBOT
dusty bayBOT
#

(notasirany) Problems with IA

dusty bayBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

ruby cipher
#
java.lang.NoClassDefFoundError: net/citizensnpcs/api/CitizensAPI
    at ItemsAdder (4.0.16).jar/dev.lone.itemsadder.Core.OtherPlugins.Citizens.CitizensHook.reload(SourceFile:85) ~[ItemsAdder (4.0.16).jar:?]
    at ItemsAdder (4.0.16).jar/itemsadder.m.ec.a(SourceFile:476) ~[ItemsAdder (4.0.16).jar:?]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.7-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71) ~[paper-api-1.21.7-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.7.jar:1.21.7-32-e792779]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.7.jar:1.21.7-32-e792779]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.7-R0.1-SNAPSHOT.jar:?]
    at ItemsAdder (4.0.16).jar/itemsadder.m.axu.a(SourceFile:82) ~[ItemsAdder (4.0.16).jar:?]
    at ItemsAdder (4.0.16).jar/itemsadder.m.a.e(SourceFile:1077) ~[ItemsAdder (4.0.16).jar:?]
    at ItemsAdder (4.0.16).jar/itemsadder.m.avr.g(SourceFile:147) ~[ItemsAdder (4.0.16).jar:?]
    at ItemsAdder (4.0.16).jar/itemsadder.m.a.a(SourceFile:1075) ~[ItemsAdder (4.0.16).jar:?]
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[paper-1.21.7.jar:1.21.7-32-e792779]
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[paper-1.21.7.jar:1.21.7-32-e792779]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1662) ~[paper-1.21.7.jar:1.21.7-32-e792779]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1530) ~[paper-1.21.7.jar:1.21.7-32-e792779]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1252) ~[paper-1.21.7.jar:1.21.7-32-e792779]
    at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.7.jar:1.21.7-32-e792779]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.CitizensAPI
    at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:205) ~[paper-api-1.21.7-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:172) ~[paper-api-1.21.7-R0.1-SNAPSHOT.jar:?]
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
    ... 18 more
[17:44:49] [Server thread/INFO]: Stopping the server
[17:44:49] [Server thread/INFO]: Stopping server```

Can someone tell me how to deal with it ?
buoyant tendon
#

!logs

sleek sunBOT
# buoyant tendon !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

ruby cipher
buoyant tendon
#

Please use our pastebin site in the future

buoyant tendon
sleek sunBOT
#
Server Version

Paper version 1.21.7-32-main@e792779 (2025-07-16T20:10:15Z)

Plugin Version(s)

Citizens v2.0.42-SNAPSHOT (build 4145) -- (Current build :white_check_mark:)

Checked For

@buoyant tendon

Java Version

21.0.8 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.14+2339-43997ec, ProtocolLib v5.4.0

Possibly Relevant Plugin(s)

TAB v6.0.0 - This plugin adds Below_Name scoreboards to NPCs.
FastAsyncWorldEdit v2.15.1-SNAPSHOT-1291+526d114 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.

Potentially Bad Line(s)

[17:42:08] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.trait.Trait :warning: Log contains error messages.

buoyant tendon
#

1.21.7/8 isn't supported anymore, update to 1.21.10 at the minimum

dawn salmonBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@ruby cipher