Johan1003 Posted November 10, 2023 Posted November 10, 2023 Good day everyone! Trying to make a setup window for my script, but I just keep getting this error. Any one knows what seems to be wrong? package com.probots.skill; import javax.swing.JFrame; public class ProgressiveWoodcutterSetup { public static void main(String[] args) { // let's run this setup window without a script new ProgressiveWoodcutterSetup(null); } public ProgressiveWoodcutterMain mainScript; public ProgressiveWoodcutterSetup(ProgressiveWoodcutterMain m) { // this lets us talk to the main script this.mainScript = m; // now show the setup window showSetup(); } public void showSetup() { System.out.print("Setup initialised"); JFrame mainFrame = new JFrame("Progressive woodcutter setup"); mainFrame.setSize(320, 320); mainFrame.setVisible(true); } } ERROR Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module descriptor for C:\Users\juuha\Desktop\osbot.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer not in module
Czar Posted November 10, 2023 Posted November 10, 2023 (edited) You are missing a dependency, did you follow the video guide correctly? At the start of the video explains how to set it up ^^ I know because I made the tutorial EDIT: Also make sure it's not compiling with any java version above 8 (1.8) Edited November 10, 2023 by Czar
Johan1003 Posted November 11, 2023 Author Posted November 11, 2023 Hey man! I just rewatched the episode now, and it's working finaly! Thx! Will there be any more episodes? Been loving these that are availible!