Jump 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.

Odd Error

Featured Replies

It works when I run in eclipse but not in osbot

[ERROR][Bot #1][06/29 02:34:40 PM]: Error in bot executor!
java.lang.NoClassDefFoundError: org/.../.../...       <- I took out the package path
at Core.myScriptClass(Core.java:60)           <- edited class name
at Core.startScript(Core.java:56)
at Core.onStart(Core.java:32)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ScriptExecutor.java:80)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.WebElement
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 5 more

Edited by Jack

 

It works when I run in eclipse but not in osbot

[ERROR][Bot #1][06/29 02:34:40 PM]: Error in bot executor!
java.lang.NoClassDefFoundError: org/.../.../...       <- I took out the package path
at Core.myScriptClass(Core.java:60)           <- edited class name
at Core.startScript(Core.java:56)
at Core.onStart(Core.java:32)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ScriptExecutor.java:80)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.WebElement
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 5 more

 

 

Is this a script that you are trying to make? If so what is on those lines in the class that is giving the error?

  • Author

Is this a script that you are trying to make? If so what is on those lines in the class that is giving the error?

 

 

Can you post your onStart() Method here?

Im using an external library. I just imported the wrong jar file I think :P Im seeing if it works now.

  • Author

You can't use external library's because it's not in the client's class path.

I cant use an external library with osbot? Or does the library have to be already downloaded on the user's comp?

I cant use an external library with osbot? Or does the library have to be already downloaded on the user's comp?

 

You tried to add the library to a resources package?

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.