Вопрос PlaceholderAPi - не устанавливается Javascript

KuyMan

Пользователь
Сообщения
101
Решения
3
Плагин
PlaceholderAPI
Ядро сервера
  1. Spigot
Версия сервера
  1. 1.12.2
Память сервера ОЗУ
6Gb
Всем привет, хотел сделать меню с китами, что бы у донатера показывался его кит только, но у меня не хочет устанавливаться Javascript в PlaceholderApi. Помогите плиз:

Код:
>papi ecloud download Javascript
[20:56:02 INFO]: Successfully downloaded expansion Javascript [2.0.0] to file: Expansion-javascript.jar
Make sure to type /papi reload to enable your new expansion!
[20:56:02 INFO]: [PlaceholderAPI] Fetching available expansion information...
>papi reload
[20:56:04 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[20:56:04 INFO]: [PlaceholderAPI] Fetching available expansion information...
[20:56:04 ERROR]: [PlaceholderAPI] Failed to load expansion class JavascriptExpansion (Is a dependency missing?)
[20:56:04 ERROR]: [PlaceholderAPI]
java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_292]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_292]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_292]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[?:1.8.0_292]
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_292]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_292]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_292]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_292]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_292]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]
        at com.extendedclip.papi.expansion.javascript.evaluator.NashornScriptEvaluatorFactory.create(NashornScriptEvaluatorFactory.java:34) ~[?:?]
        at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.createNashornEvaluatorFactory(JavascriptExpansion.java:176) ~[?:?]
        at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.register(JavascriptExpansion.java:97) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:168) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_292]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_292]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_292]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_292]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_292]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_292]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_292]
        at java.util.stream.LongPipeline.reduce(LongPipeline.java:461) ~[?:1.8.0_292]
        at java.util.stream.LongPipeline.sum(LongPipeline.java:419) ~[?:1.8.0_292]
        at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593) ~[?:1.8.0_292]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$3(LocalExpansionManager.java:327) ~[?:?]
        at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: playerpoints
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: worldguard
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[20:56:04 INFO]: 7 placeholder hooks successfully registered!
 
Всем привет, хотел сделать меню с китами, что бы у донатера показывался его кит только, но у меня не хочет устанавливаться Javascript в PlaceholderApi. Помогите плиз:

Код:
>papi ecloud download Javascript
[20:56:02 INFO]: Successfully downloaded expansion Javascript [2.0.0] to file: Expansion-javascript.jar
Make sure to type /papi reload to enable your new expansion!
[20:56:02 INFO]: [PlaceholderAPI] Fetching available expansion information...
>papi reload
[20:56:04 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[20:56:04 INFO]: [PlaceholderAPI] Fetching available expansion information...
[20:56:04 ERROR]: [PlaceholderAPI] Failed to load expansion class JavascriptExpansion (Is a dependency missing?)
[20:56:04 ERROR]: [PlaceholderAPI]
java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_292]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_292]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_292]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[?:1.8.0_292]
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_292]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_292]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_292]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_292]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_292]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]
        at com.extendedclip.papi.expansion.javascript.evaluator.NashornScriptEvaluatorFactory.create(NashornScriptEvaluatorFactory.java:34) ~[?:?]
        at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.createNashornEvaluatorFactory(JavascriptExpansion.java:176) ~[?:?]
        at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.register(JavascriptExpansion.java:97) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:168) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_292]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_292]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_292]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_292]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_292]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_292]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_292]
        at java.util.stream.LongPipeline.reduce(LongPipeline.java:461) ~[?:1.8.0_292]
        at java.util.stream.LongPipeline.sum(LongPipeline.java:419) ~[?:1.8.0_292]
        at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593) ~[?:1.8.0_292]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$3(LocalExpansionManager.java:327) ~[?:?]
        at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [Spigot.jar:git-Spigot-dcd1643-e60fc34]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: playerpoints
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: worldguard
[20:56:04 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[20:56:04 INFO]: 7 placeholder hooks successfully registered!
Обнови java runtime до 16 версии.
 
На версии 1.6 жабаскрипта можно было удалить ***** весь ВДС если сервак запущен от рута. Вот тебе по русски
да мне любую, лишь бы на 8 яве работала, у меня ебучий консольный сервак, энивей ничо не сделаю
 
Назад
Сверху Снизу