InventivetalentDev / AdvancedSlabs

MIT License
4 stars 7 forks source link

Internal Exception: java.lang.NoClassDefFoundError: Could not initialize class org.inventivetalent.glow .reflection.minecraft.Minecraft #45

Closed backryun closed 4 years ago

backryun commented 4 years ago

What steps will reproduce the problem?

  1. set the server default and start it.
  2. use minecraft JE 1.15.2 Vanilla version and login to server.
  3. then, the server won`t login and error message come out.

What were you expecting to happen? What happened instead?

can`t login to server when this plugin active.

What version of the plugin are you using? Type /version <Plugin Name>

1.11.0-SNAPSHOT

What Spigot version are you using? Type /version

1.15.2 (spigot recent version)

What plugins ae you using? Type /plugins

only AdvancedSlabs.

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

[WHEN I CONNECT SERVER situation log]

[14:22:39 INFO]: [ReflectionHelper] I am loaded from package org.inventivetalent.glow.reflection.minecraft [14:22:39 WARN]: [ReflectionHelper] Failed to find version enum for 'org.bukkit.craftbukkit.v1_15_R1'/'v1_15_R1.' [14:22:39 INFO]: [ReflectionHelper] Generating dynamic constant... [14:22:39 ERROR]: Could not pass event PlayerJoinEvent to AdvancedSlabs v1.11.0-SNAPSHOT java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessor at org.inventivetalent.glow.reflection.minecraft.Minecraft.newEnumInstance(Minecraft.java:219) ~[?:?] at org.inventivetalent.glow.reflection.minecraft.Minecraft$Version.getVersion(Minecraft.java:184) ~[?:?] at org.inventivetalent.glow.reflection.minecraft.Minecraft.(Minecraft.java:34) ~[?:?] at org.inventivetalent.glow.reflection.resolver.minecraft.NMSClassResolver.resolve(NMSClassResolver.java:15) ~[?:?] at org.inventivetalent.glow.GlowAPI$Color.(GlowAPI.java:427) ~[?:?] at org.inventivetalent.glow.GlowAPI$Color.(GlowAPI.java:403) ~[?:?] at org.inventivetalent.glow.GlowAPI.initTeam(GlowAPI.java:320) ~[?:?] at org.inventivetalent.glow.GlowAPI.initTeam(GlowAPI.java:331) ~[?:?] at org.inventivetalent.glow.GlowAPI.onJoin(GlowAPI.java:524) ~[?:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor4.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.15.2.jar:git-Paper-226] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.15.2.jar:git-Paper-226] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.15.2.jar:git-Paper-226] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.PlayerList.postChunkLoadJoin(PlayerList.java:232) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.PlayerList.lambda$a$0(PlayerList.java:172) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.ChunkProviderServer.lambda$null$3(ChunkProviderServer.java:184) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.PlayerChunkMap$CallbackExecutor.run(PlayerChunkMap.java:112) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.ChunkProviderServer$a.executeNext(ChunkProviderServer.java:1052) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.ChunkProviderServer$a.midTickLoadChunks(ChunkProviderServer.java:1029) ~[patched_1.15.2.jar:git-Paper-226 ] at net.minecraft.server.v1_15_R1.MinecraftServer.midTickLoadChunks(MinecraftServer.java:1050) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.MinecraftServer.lambda$a$5(MinecraftServer.java:1149) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:118) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1148) ~[patched_1.15.2.jar:git-Paper-226] at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:946) ~[patched_1.15.2.jar:git-Paper-226] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.ClassNotFoundException: sun.reflect.ConstructorAccessor at java.net.URLClassLoader.findClass(URLClassLoader.java:471) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:171) ~[patched_1.15.2.jar:git-Paper-226] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[patched_1.15.2.jar:git-Paper-226] at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?] ... 26 more [14:22:39 INFO]: backryun joined the game [14:22:39 INFO]: backryun[/59.22.85.133:1084] logged in with entity id 41 at ([world]174.9367178662486, 44.5, 115.66504742233533) [14:22:40 INFO]: backryun lost connection: Internal Exception: java.lang.NoClassDefFoundError: Could not initialize class org.inventivetalent.glow.reflection.minecraft.Minecraft [14:22:40 INFO]: backryun left the game

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

client say: Internal Exception: java.lang.NoClassDefFoundError: Could not initialize class org.inventivetalent.glow.reflection.minecraft.Minecraft

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

i opened server on Ubuntu LTS 20.04 server editon, JAVA 11 and paper(spigot)server client.

i already tried craftbukkit, spigot,paper. all program comes out same error.