vakho 1 Posted May 27, 2019 Hello guys, I've made a Maven starter project for Scripters. The project is located here => https://github.com/vakho10/dreambot-quickstart When you package the project, it gets deployed automatically. The only thing you have to do is to supply the Dreambot folder path in pom.xml file. Cheers
XZybez 2 Posted May 4, 2020 Gear One, thank you. Do you have any idea why the error might happen? Java Version + Same in Intellij. java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) I did also install the .jar to the Maven as in the git explained. On "refresh" scripts i get the error massage that the Script been complited with Higher Version. Exception in thread "Thread-20" java.lang.UnsupportedClassVersionError: module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.dreambot.api.script.loader.LocalLoader.loadJar(LocalLoader.java:302) at org.dreambot.api.script.loader.LocalLoader.loadJar(LocalLoader.java:265) at org.dreambot.api.script.loader.LocalLoader.traverse(LocalLoader.java:207) at org.dreambot.api.script.loader.LocalLoader.loadScripts(LocalLoader.java:171) at org.dreambot.api.script.loader.LocalLoader.<clinit>(LocalLoader.java:142) at org.dreambot.0.1.1.3.4.0(4.java:639) at org.dreambot.0.1.1.3.4.0r(4.java:631) at org.dreambot.0.1.1.3.4.0x(4.java:625) at org.dreambot.0.1.1.3.4.0s(4.java:357) at org.dreambot.0.1.1.3.4.0q(4.java:106) at java.lang.Thread.run(Thread.java:748) Exception in thread "Thread-23" java.lang.NoClassDefFoundError: Could not initialize class org.dreambot.api.script.loader.LocalLoader at org.dreambot.0.1.1.3.4.0(4.java:643) at org.dreambot.0.1.1.3.4.0g(4.java:499) at java.lang.Thread.run(Thread.java:748)
xVril 32 Posted May 7, 2020 On 5/4/2020 at 3:59 PM, XZybez said: Gear One, thank you. Do you have any idea why the error might happen? Java Version + Same in Intellij. java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) I did also install the .jar to the Maven as in the git explained. On "refresh" scripts i get the error massage that the Script been complited with Higher Version. Exception in thread "Thread-20" java.lang.UnsupportedClassVersionError: module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.dreambot.api.script.loader.LocalLoader.loadJar(LocalLoader.java:302) at org.dreambot.api.script.loader.LocalLoader.loadJar(LocalLoader.java:265) at org.dreambot.api.script.loader.LocalLoader.traverse(LocalLoader.java:207) at org.dreambot.api.script.loader.LocalLoader.loadScripts(LocalLoader.java:171) at org.dreambot.api.script.loader.LocalLoader.<clinit>(LocalLoader.java:142) at org.dreambot.0.1.1.3.4.0(4.java:639) at org.dreambot.0.1.1.3.4.0r(4.java:631) at org.dreambot.0.1.1.3.4.0x(4.java:625) at org.dreambot.0.1.1.3.4.0s(4.java:357) at org.dreambot.0.1.1.3.4.0q(4.java:106) at java.lang.Thread.run(Thread.java:748) Exception in thread "Thread-23" java.lang.NoClassDefFoundError: Could not initialize class org.dreambot.api.script.loader.LocalLoader at org.dreambot.0.1.1.3.4.0(4.java:643) at org.dreambot.0.1.1.3.4.0g(4.java:499) at java.lang.Thread.run(Thread.java:748) https://crunchify.com/how-to-fix-java-lang-unsupportedclassversionerror-class-has-been-compiled-by-a-more-recent-version-of-the-java-runtime/ This might help you
XZybez 2 Posted May 8, 2020 On 5/7/2020 at 4:45 PM, xVril said: https://crunchify.com/how-to-fix-java-lang-unsupportedclassversionerror-class-has-been-compiled-by-a-more-recent-version-of-the-java-runtime/ This might help you Foudn the Issue, the Jaxon for a dependency was compiled for Java 9. Had to install few Dependencies locally and make sure all items which i need was was Java 8.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.