robkule424 Posted April 2, 2016 Posted April 2, 2016 I'm trying to use the JSoup library to scrape and have the jar imported as a external jar in eclipse, along with the OsBot jar. I'm getting an error in the log: java.lang.NoClassDefFoundError: org/jsoup/Jsoup I'm guessing OSBot doesn't allow external libraries, but can anyone confirm this? Thanks
FrostBug Posted April 2, 2016 Posted April 2, 2016 Can confirm :E. The SDN isn't going to supply external libraries to users alongside the script
Khaleesi Posted April 2, 2016 Posted April 2, 2016 Not possible on the SDN, it is possible local though
robkule424 Posted April 2, 2016 Author Posted April 2, 2016 The script is local/private. What is the procedure for adding the library? I'm assuming it's the normal procedure (properties->add external jar->JSoup), but this still doesn't allow the OSBot client to find the JSoup library. Am I missing something here? thanks again
CollapsRanger Posted December 22, 2016 Posted December 22, 2016 The script is local/private. What is the procedure for adding the library? I'm assuming it's the normal procedure (properties->add external jar->JSoup), but this still doesn't allow the OSBot client to find the JSoup library. Am I missing something here? thanks again did you solve the problem? i am having it too... client wont rec jsoup lib
liverare Posted December 23, 2016 Posted December 23, 2016 You can add libraries if you've got the source code and the code doesn't execute something to piss off the security manager straight from the get-go. 1