Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posting event ProxyInitializeEvent #3

Open
wildmaster84 opened this issue Mar 18, 2020 · 1 comment
Open

posting event ProxyInitializeEvent #3

wildmaster84 opened this issue Mar 18, 2020 · 1 comment

Comments

@wildmaster84
Copy link

while starting up velocity there was an error posting event ProxyInitializeEvent.

Log:

java.lang.NoClassDefFoundError: net/kyori/text/serializer/ComponentSerializers
at me.bhop.lanbroadcaster.velocity.LANBroadcasterVelocity.onProxyInit(LANBroadcasterVelocity.java:30) ~[?:?]
at net.kyori.event.asm.generated.d810a2f6d7.LANBroadcasterVelocity-onProxyInit-ProxyInitializeEvent-2.invoke(Unknown Source) ~[?:?]
at net.kyori.event.method.SimpleMethodSubscriptionAdapter$MethodEventSubscriber.invoke(SimpleMethodSubscriptionAdapter.java:148) ~[proxy.jar:1.0.6-SNAPSHOT (git-5c6163d8-b195)]
at net.kyori.event.SimpleEventBus.post(SimpleEventBus.java:107) ~[proxy.jar:1.0.6-SNAPSHOT (git-5c6163d8-b195)]
at com.velocitypowered.proxy.plugin.VelocityEventManager.fireEvent(VelocityEventManager.java:136) ~[proxy.jar:1.0.6-SNAPSHOT (git-5c6163d8-b195)]
at com.velocitypowered.proxy.plugin.VelocityEventManager.lambda$fire$0(VelocityEventManager.java:117) ~[proxy.jar:1.0.6-SNAPSHOT (git-5c6163d8-b195)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
at java.lang.Thread.run(Thread.java:830) [?:?]
Caused by: java.lang.ClassNotFoundException: net.kyori.text.serializer.ComponentSerializers
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:66) ~[proxy.jar:1.0.6-SNAPSHOT (git-5c6163d8-b195)]
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:43) ~[proxy.jar:1.0.6-SNAPSHOT (git-5c6163d8-b195)]
at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]

SebaSphere added a commit to SebaSphere/LANBroadcaster that referenced this issue Apr 15, 2021
This should make the plugin work again on the latest Velocity. The previous class has since been deprecated and throws a ClassNotFound exception as per issue
bhopahk#3
@SebaSphere
Copy link
Contributor

Should be fixed as per
#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants