Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NoClassDefFoundError and I have no idea how to solve it

Featured Replies

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. 

You need to extract the jar into the output root in artifacts

  • Author
19 minutes ago, Camaro said:

You need to extract the jar into the output root in artifacts

Output root? I am not sure what that is. I designated the output folder in artifacts, the jar is successfully created in the folder I chose. Do you mean I should set the output directory to a specific folder?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.