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.

Weird ClassNotFound Error?

Featured Replies

Hey everyone. I've spent way too much time today tinkering with GUIs. I made one which worked fine but was a bit too basic looking for me. So, I decided to try using WindowBuilder, but the code that produced ended up simply crashing my script on launch every time without any errors.

 

So I instead tried to use JFormDesigner to make the GUI. I've made one which I am quite pleased with, however it is throwing me a ClassNotFound error which I am unsure how to solve.

 

Here's the error:

16 01:50:41 AM]: Loading GUI
[ERROR][01/16 01:50:41 AM]: Uncaught exception!
java.lang.NoClassDefFoundError: com/jgoodies/forms/factories/DefaultComponentFactory
	at Core.GUI.initComponents(GUI.java:30)
	at Core.GUI.<init>(GUI.java:24)
	at Core.ikkDefenders.onStart(ikkDefenders.java:72)
	at org.osbot.rs07.event.ScriptExecutor.IiiiIIiIII(qf:246)
	at org.osbot.rs07.event.ScriptExecutor.start(qf:8)
	at org.osbot.coM8.run(aj:153)
	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: com.jgoodies.forms.factories.DefaultComponentFactory
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 9 more

They should all be there, I'm not sure why this is giving me issues..

 

Screenshot: 

http://i.imgur.com/kYaKoMl.png

 

All help greatly appreciated! Thanks in advance :D

 

You are using jgoodies which I doubt osbot supports. So remove it or wait for another response if it is possble to use jgoodies on osbot, because I think its not possible

The users would need the libraries as well, which they do not have.

 

You'll need to include the library sources or remove the library

  • Author

Thanks for the help guys! Didn't know that OSBot wouldn't automatically have support for JGoodies. Also, I found out the issue which was causing the script to crash upon start up. Was due to me trying to use a font that was unsupported. Looks like my GUI has a JFormDesigner watermark on it that I cannot get rid of, but it could be worse

 

Got rid of all the JGoodies dependencies and unusual fonts and here she is:

n90Zv1j.png

Edited by ikk

Create an account or sign in to comment

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.