R
R
RAINGM2020-08-16 20:18:40
Java
RAINGM, 2020-08-16 20:18:40

Can you help set up node for lavalink.py?

In the bot code itself, everything is fine.
Console error when running Lavalink.jar

\lavalink>java -jar Lavalink.jar
2020-08-16 21:16:20.167 WARN 10324 --- [kground-preinit] oshcjJackson2ObjectMapperBuilder : For Jackson Kotlin classes support please add "com.fasterxml .jackson.module:jackson-module-kotlin" to the classpath
2020-08-16 21:16:20.182 ERROR 10324 --- [ main] lavalink.server.Launcher : Application failed

java.lang.UnsupportedClassVersionError: lavalink/server/ info/AppInfo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[ na:1.8.0_261]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[na:1.8.0_261]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[na:1.8.0_261]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[na:1.8.0_261]
at java.net.URLClassLoader.access$100(Unknown Source) ~[na:1.8.0_261]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8. 0_261]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_261]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_261]
at java.net.URLClassLoader. findClass(Unknown Source) ~[na:1.8.0_261]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_261]
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93) ~[Lavalink.jar:na]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_261]
at lavalink. server.Launcher.getVersionInfo(Launcher.kt:50) [classes!/:na]
at lavalink.server.Launcher.getVersionInfo$default(Launcher.kt:49) [classes!/:na]
at lavalink.server.Launcher$ main$1.onApplicationEvent(Launcher.kt:118) ~[classes!/:na]
at lavalink.server.Launcher$main$1.onApplicationEvent(Launcher.kt:43) ~[classes!/:na]
at org.springframework. context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event. SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127 ) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76) ~[spring-boot- 2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplication.prepareEnvironment( SpringApplication.java:342) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) ~[spring-boot -2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at lavalink.server.Launcher.main(Launcher.kt:127) [classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method ) ~[na:1.8.0_261]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_261]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_261]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_261]
at org.springframework.boot.loader .MainMethodRunner.run(MainMethodRunner.java:48) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [Lavalink.jar:na]
at org.springframework.boot .loader.Launcher.launch(Launcher.java:51) [Lavalink.jar:na]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [Lavalink.jar:na]

2020-08- 16 21:16:20.184 ERROR 10324 --- [ main] osboot.SpringApplication : Application run failed

java.lang.UnsupportedClassVersionError: lavalink/server/info/AppInfo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang .ClassLoader.defineClass1(Native Method) ~[na:1.8.0_261]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[na:1.8.0_261]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[ na:1.8.0_261]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[na:1.8.0_261]
at java.net.URLClassLoader.access$100(Unknown Source) ~[na:1.8.0_261]
at java. net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_261]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_261]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_261]
at java.net.URLClassLoader.findClass( Unknown Source) ~[na:1.8.0_261]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_261]
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93) ~[Lavalink.jar:na]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_261]
at lavalink.server.Launcher.getVersionInfo(Launcher.kt:50) [classes!/:na]
at lavalink.server.Launcher.getVersionInfo$default(Launcher.kt:49) [classes!/:na]
at lavalink.server.Launcher$main$1.onApplicationEvent(Launcher.kt:118) ~[classes!/:na]
at lavalink.server.Launcher$main$1.onApplicationEvent(Launcher.kt:43) ~[classes!/: na]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context. event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java :139) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.boot.context. event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53 ) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:342) ~[spring-boot-2.1.8. RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at lavalink.server.Launcher.main(Launcher. kt:127) [classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_261]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_261 ]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_261]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_261]
at org.springframework.boot. loader.MainMethodRunner.run(MainMethodRunner.java:48) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [Lavalink.jar:na]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [Lavalink.jar: na]

\lavalink>pause
Press any key to continue . . .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2020-08-16
@RAINGM

has been compiled by a more recent version of the
Java

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question