Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Issue with adding third party library


    Recommended Posts

    Adding a third party library in a regular project I get normal access as follows:


    In my DreamBot project I'm getting the following:


    In the second scenario I can access some StringUtils functions (e.g. replace, containsAny, containsNone), but not all of them (such as substringBetween shown in the second image above). My guess would be that client.jar (which is required for a DreamBot project) already has an older version of org.apache.commons.lang3, and that takes precedence when calling StringUtils. How could I avoid this conflict so that all StringUtils functions are available in my DreamBot project?


    Edited by althtu
    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.