Вопрос Плагин не загружается

Версия Minecraft
1.20.X

Mirik9724

Пользователь
Сообщения
5
Разрешается выкладывание кода, файлов конфигураций, логов и т.д. только под BB-код CODE
[07:41:56 INFO]: [Whitelist-ultra] Enabling Whitelist-ultra v0.2.4
[07:41:56 INFO]: [Whitelist-ultra] The file already exists.
[07:41:56 ERROR]: Error occurred while enabling Whitelist-ultra v0.2.4 (Is it up to date?)
java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/JsonNode
at net.Mirik9724.whitelist_ultra.commands.WhitelistUltraCommand.<init>(WhitelistUltraCommand.java:21) ~[whitelist_ultra-0.2.4.jar:?]
at net.Mirik9724.whitelist_ultra.Whitelist_ultra.onEnable(Whitelist_ultra.java:38) ~[whitelist_ultra-0.2.4.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.1.jar:git-Paper-196]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:642) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:553) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:635) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:434) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.JsonNode
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:183) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
... 14 more
[07:41:56 INFO]: [Whitelist-ultra] Disabling Whitelist-ultra v0.2.4
[07:41:56 INFO]: Whitelist Ultra has unload

вот логги я не понимаю почему плагин не запустился
 
[07:41:56 INFO]: [Whitelist-ultra] Enabling Whitelist-ultra v0.2.4
[07:41:56 INFO]: [Whitelist-ultra] The file already exists.
[07:41:56 ERROR]: Error occurred while enabling Whitelist-ultra v0.2.4 (Is it up to date?)
java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/JsonNode
at net.Mirik9724.whitelist_ultra.commands.WhitelistUltraCommand.<init>(WhitelistUltraCommand.java:21) ~[whitelist_ultra-0.2.4.jar:?]
at net.Mirik9724.whitelist_ultra.Whitelist_ultra.onEnable(Whitelist_ultra.java:38) ~[whitelist_ultra-0.2.4.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.1.jar:git-Paper-196]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:642) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:553) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:635) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:434) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.JsonNode
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:183) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
... 14 more
[07:41:56 INFO]: [Whitelist-ultra] Disabling Whitelist-ultra v0.2.4
[07:41:56 INFO]: Whitelist Ultra has unload

вот логги я не понимаю почему плагин не запустился
при компиляции плагина добавь в зависимости библиотеку.
Код:
<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.12.4</version>
    <scope>compile</scope>
</dependency>
 
Вероятнее всего, плагин не предназначен для бумажного ядра.
предносзначен
Объединено

при компиляции плагина добавь в зависимости библиотеку.
Код:
<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.12.4</version>
    <scope>compile</scope>
</dependency>
пробывал мне помогло только ShadowJar
Объединено

если что решенно
 
Назад
Сверху Снизу