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

    Recommended Posts

    Posted

    I'm using IntelliJ and using Oracle OpenJDK version 1.8.0_202 ( Java 8 ). I believe I've followed the official starting guides and set up my development environment correctly. Added the client as a library to my project (as shown in the attachment under external libraries). I have also added the artifact correctly. But my imports do not seem to resolve with the error (attached). 

    How am I able to correct this, assuming I'm doing something wrong.

    image.png

    Posted
    14 hours ago, camelCase said:

    you have missed / done wrong the adding dependencies part of this guide https://dreambot.org/guides/scripter-guide/script-dev/setting-up-dev-env/#configuring-the-project

    I've correctly followed the parts of that guide (attached both the library and artifact sections of my project structure). But it still does not resolve the dependencies. Any idea on what else I can do to resolve it?

    image.png

    image.png

    Posted

    For anyone who stumbles on this issue in the future, the solution that worked for me was: 

    Under File > Project Structure > Modules > Dependencies
    Check the box next to client. 
    After this change my imports resolved perfectly.

    • 5 months later...
    Posted

    I'm having the same problem. i just did what the tutorial says and the error still persists. help please

    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.