yetanotherbot 4 Share Posted April 10, 2020 I'm using a dependency (gson) which has a module-info. Script manager hits an expection when enumerating scripts and the script never shows up. The problem only seems to be with finding the scripts, not running them. Scenario 1: Build script without dependency Launch DreamBot and open script manager Script is found With script manager still open, rebuild script jar with dependencies Script manager throws a bunch of errors but the script is still listed Script can be started and works as expected including dependency calls Scenario 2: Build script with dependency Launch DreamBot and open script manager Exceptions throw. Script manager broken. No script found. At this stage, recompiling without dependency or closing script manager has no effect. Client restart needed. Both scenarios throw this error: 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. Only Scenario 2 throws: java.lang.NoClassDefFoundError: Could not initialize class org.dreambot.api.script.loader.LocalLoader Can anyone point me in the right direction here? Thanks Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now