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

[EvenMoreFish] Failed to load class files of addon. #269

Open
animegodla2 opened this issue Jan 21, 2024 · 1 comment
Open

[EvenMoreFish] Failed to load class files of addon. #269

animegodla2 opened this issue Jan 21, 2024 · 1 comment

Comments

@animegodla2
Copy link

[09:59:44 ERROR]: [EvenMoreFish] Failed to load class files of addon.
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: com/oheers/evenmorefish/addons/OraxenItemAddon has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1766) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]
Caused by: java.lang.UnsupportedClassVersionError: com/oheers/evenmorefish/addons/OraxenItemAddon has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
at java.lang.ClassLoader.defineClass(ClassLoader.java:1010) ~[?:?]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:512) ~[?:?]
at java.net.URLClassLoader$1.run(URLClassLoader.java:420) ~[?:?]
at java.net.URLClassLoader$1.run(URLClassLoader.java:414) ~[?:?]
at java.security.AccessController.doPrivileged(AccessController.java:691) ~[?:?]
at java.net.URLClassLoader.findClass(URLClassLoader.java:413) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:586) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
at com.oheers.fish.api.addons.FileUtil.loadClass(FileUtil.java:107) ~[?:?]
at com.oheers.fish.api.addons.FileUtil.lambda$findClassesAsync$2(FileUtil.java:61) ~[?:?]
at java.util.concurre

how to fix ?

@sarhatabaot
Copy link
Collaborator

sarhatabaot commented Jan 23, 2024

You need to update your java vesion

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