Velocity проблема
-
MAMainfol
27 декабря 2022 - 00:22
Вы не авторизованы, войдите на сайт.
просмотров 315 | ответа 3
Закинул плагины LimboFilter и LimboAPI запускаю и выдает такую ошибку at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?] at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?] at java.net.URLClassLoader.defineClass(URLClassLoader.java:524) ~[?:?] at java.net.URLClassLoader$1.run(URLClassLoader.java:427) ~[?:?] at java.net.URLClassLoader$1.run(URLClassLoader.java:421) ~[?:?] at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?] at java.net.URLClassLoader.findClass(URLClassLoader.java:420) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?] at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:67) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:61) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at net.elytrium.limboapi.LimboAPI.(LimboAPI.java:171) ~[?:?] at net.elytrium.limboapi.LimboAPI$$FastClassByGuice$$209798.GUICE$TRAMPOLINE() ~[?:?] at net.elytrium.limboapi.LimboAPI$$FastClassByGuice$$209798.apply() ~[?:?] at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] ... 6 more Caused by: java.lang.ClassNotFoundException: com.velocitypowered.proxy.protocol.packet.PlayerListItem at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:84) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:61) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?] at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?] at java.net.URLClassLoader.defineClass(URLClassLoader.java:524) ~[?:?] at java.net.URLClassLoader$1.run(URLClassLoader.java:427) ~[?:?] at java.net.URLClassLoader$1.run(URLClassLoader.java:421) ~[?:?] at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?] at java.net.URLClassLoader.findClass(URLClassLoader.java:420) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?] at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:67) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:61) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at net.elytrium.limboapi.LimboAPI.(LimboAPI.java:171) ~[?:?] at net.elytrium.limboapi.LimboAPI$$FastClassByGuice$$209798.GUICE$TRAMPOLINE() ~[?:?] at net.elytrium.limboapi.LimboAPI$$FastClassByGuice$$209798.apply() ~[?:?] at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] ... 6 more [00:17:09 ERROR]: Can't create plugin limbofilter com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) [Guice/ErrorInjectingConstructor]: NoSuchElementException: No value present at LimboFilter.(LimboFilter.java:125) at VelocityPluginModule.configure(VelocityPluginModule.java:48) while locating LimboFilter Learn more: https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR 1 error ====================== Full classname legend: ====================== LimboFilter: "net.elytrium.limbofilter.LimboFilter" VelocityPluginModule: "com.velocitypowered.proxy.plugin.loader.java.VelocityPluginModule" ======================== End of classname legend: ======================== at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.createPlugin(JavaPluginLoader.java:121) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.velocitypowered.proxy.plugin.VelocityPluginManager.loadPlugins(VelocityPluginManager.java:151) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.velocitypowered.proxy.VelocityServer.loadPlugins(VelocityServer.java:343) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.velocitypowered.proxy.VelocityServer.start(VelocityServer.java:224) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.velocitypowered.proxy.Velocity.main(Velocity.java:64) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] Caused by: java.util.NoSuchElementException: No value present at java.util.Optional.orElseThrow(Optional.java:377) ~[?:?] at net.elytrium.limbofilter.LimboFilter.(LimboFilter.java:134) ~[?:?] at net.elytrium.limbofilter.LimboFilter$$FastClassByGuice$$1872066.GUICE$TRAMPOLINE() ~[?:?] at net.elytrium.limbofilter.LimboFilter$$FastClassByGuice$$1872066.apply() ~[?:?] at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[velocity-3.1.2.jar:3.1.2-SNAPSHOT (git-c9e0e14e-b201)] ... 6 more [00:17:09] [Инфо]: Loaded 0 plugins [00:17:09] [Инфо]: Listening on /0.0.0.0:30101 [00:17:09] [Инфо]: Выполнено (4.58s)! [00:19:34] [Инфо]: [initial connection] /84.54.92.78:39439 has disconnected пожалуйста помогите что нужно сделать что бы плагины заработали
-
Алексей
27 декабря 2022 - 00:36
Вроде бы ещё вместе с ними должен быть плагин limboAuth Скачайте плагины последних версий и Velocity тоже, а также обязательно запускайте на Java17.
-
MAMainfol
27 декабря 2022 - 00:53
Да спасибо я ошибся с версией limboapi и поставил на 1 версию ниже изза этого возникла проблема спасибо за ответ
-
MAMainfol
27 декабря 2022 - 02:01
А что делать если идет бесконечная загрузка файла когда я закидываю LimboAuth