Jump to content

NoClassDefFoundError and I have no idea how to solve it


Sujamma

Recommended Posts

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. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...