I am trying to create a new script with IntelliJ Idea, but whenever I try to use my Utility.jar, I get this error:
java.lang.NoClassDefFoundError: Utility/Sleep
at Main.TanHide(Main.java:80)
at Main.onStart(Main.java:48)
at org.osbot.rs07.event.ScriptExecutor.iiiIIiiiiiii(hl:205)
at org.osbot.rs07.event.ScriptExecutor.start(hl:125)
at org.osbot.CB.iiiIIiiiiiii(jz:262)
at org.osbot.rA.IIiiiiiiiiiI(lz:119)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Utility.Sleep
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 9 more
It lets me import the script, use the methods and so on. The script compiles fine, but whenever I try to use the script inside the OSBot client it fails with the error.
I am not really sure what information would help resolve this, so I will be happy to clarify any questions. Any kind of help is appreciated.