개인 자료란 (JE)

  서버 커뮤니티

Profile dasdada 대표칭호 없음
Profile

질문하기 플러그인

멀티버스 플러그인 오류

2023.12.23 조회 수 93 추천 수 0
이해도 초보자 
게임버전 (JE) 1.16.5 
게임버전 (BE) 관련없음 

구글링해서 보니깐 자바 버전 문제인거같아서 자바17을 지워서 다시 잘 작동하나 싶었는데 다음날 다시 켜보니깐 또 오류가 뜨네요 이거 뭐가 문젠건가요?


[16:18:56 ERROR]: Error occurred while enabling Multiverse-Core v4.2.2-b812 (Is it up to date?)

java.lang.ExceptionInInitializerError: null

        at org.openjdk.nashorn.internal.runtime.Context.compile(Context.java:1509) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.internal.runtime.Context.compileScript(Context.java:1449) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.internal.runtime.Context.compileScript(Context.java:759) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:528) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:517) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:395) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:151) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:262) ~[java.scripting:?]

        at com.onarandombox.buscript.ScriptManager.<init>(ScriptManager.java:83) ~[?:?]

        at com.onarandombox.buscript.Buscript.<init>(Buscript.java:77) ~[?:?]

        at com.onarandombox.buscript.Buscript.<init>(Buscript.java:65) ~[?:?]

        at com.onarandombox.MultiverseCore.MultiverseCore.initializeBuscript(MultiverseCore.java:357) ~[?:?]

        at com.onarandombox.MultiverseCore.MultiverseCore.onEnable(MultiverseCore.java:334) ~[?:?]

        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:273) ~[forge:?]

        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) ~[forge:?]

        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:479) ~[forge:?]

        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:502) ~[forge:7e29f765-296df566-9fb885e8]

        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:414) ~[forge:7e29f765-296df566-9fb885e8]

        at net.minecraft.server.MinecraftServer.func_240787_a_(MinecraftServer.java:427) ~[?:?]

        at net.minecraft.server.MinecraftServer.func_240800_l__(MinecraftServer.java:347) ~[?:?]

        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:227) ~[?:?]

        at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:768) ~[?:?]

        at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:267) ~[?:?]

        at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: no such method: sun.misc.Unsafe.defineAnonymousClass(Class,byte[],Object[])Class/invokeVirtual

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.lambda$getDefineAnonymousClass$0(Context.java:335) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at java.security.AccessController.doPrivileged(AccessController.java:319) ~[?:?]

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.getDefineAnonymousClass(Context.java:327) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.<clinit>(Context.java:317) ~[nashorn-core-compat-15.1.1.1.jar:?]

        ... 24 more

Caused by: java.lang.NoSuchMethodException: no such method: sun.misc.Unsafe.defineAnonymousClass(Class,byte[],Object[])Class/invokeVirtual

        at java.lang.invoke.MemberName.makeAccessException(MemberName.java:915) ~[?:?]

        at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:994) ~[?:?]

        at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:3750) ~[?:?]

        at java.lang.invoke.MethodHandles$Lookup.findVirtual(MethodHandles.java:2767) ~[?:?]

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.lambda$getDefineAnonymousClass$0(Context.java:329) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at java.security.AccessController.doPrivileged(AccessController.java:319) ~[?:?]

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.getDefineAnonymousClass(Context.java:327) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.<clinit>(Context.java:317) ~[nashorn-core-compat-15.1.1.1.jar:?]

        ... 24 more

Caused by: java.lang.NoSuchMethodError: 'java.lang.Class sun.misc.Unsafe.defineAnonymousClass(java.lang.Class, byte[], java.lang.Object[])'

        at java.lang.invoke.MethodHandleNatives.resolve(Native Method) ~[?:?]

        at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:962) ~[?:?]

        at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:991) ~[?:?]

        at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:3750) ~[?:?]

        at java.lang.invoke.MethodHandles$Lookup.findVirtual(MethodHandles.java:2767) ~[?:?]

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.lambda$getDefineAnonymousClass$0(Context.java:329) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at java.security.AccessController.doPrivileged(AccessController.java:319) ~[?:?]

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.getDefineAnonymousClass(Context.java:327) ~[nashorn-core-compat-15.1.1.1.jar:?]

        at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.<clinit>(Context.java:317) ~[nashorn-core-compat-15.1.1.1.jar:?]

        ... 24 more

[16:18:56 INFO]: [Multiverse-Core] Disabling Multiverse-Core v4.2.2-b812

3개의 댓글

NoEul
2023.12.23

OpenJDK 대신 Oracle JDK를 사용해보세욘

dasdada
2023.12.23
@NoEul

링크 주신거에서 다운받아도 똑같은 오류가 뜹니다 ㅠㅠ

NoEul
2023.12.23
@dasdada

기존에 설치한 OpenJDK 17은 제거하고 설치한 거 맞나욘?