bumzag Posted December 21, 2019 Share Posted December 21, 2019 I know I've either asked this same question or see it answered on here but I can't find the thread. I'm rebuilding my Wheat Picker script and have to configure IntelliJ but I'm getting those errors. I know it's a simple fix but I can't remember how it's done. Any advice? Quote Link to comment Share on other sites More sharing options...
Naked Posted December 21, 2019 Share Posted December 21, 2019 The osbot jar is not imported into the project properly. https://osbot.org/forum/topic/154399-script-development-setup/ Quote Link to comment Share on other sites More sharing options...
bumzag Posted December 21, 2019 Author Share Posted December 21, 2019 I followed Explv's instruction to setup the environment and the osbot.jar shows in the dependencies tab in the Modules section of the Project structure but it still show's as an error when building the project. Quote Link to comment Share on other sites More sharing options...
Naked Posted December 21, 2019 Share Posted December 21, 2019 (edited) Follow Token's guide as closely as possible. It isn't importing properly. Edit: Have you imported import org.osbot.rs07.api.ui.RS2Widget; Edited December 21, 2019 by Naked Quote Link to comment Share on other sites More sharing options...
bumzag Posted December 22, 2019 Author Share Posted December 22, 2019 I deleted the project and followed Token's to a T but still getting the error. Here's a screen shot Quote Link to comment Share on other sites More sharing options...
BravoTaco Posted December 23, 2019 Share Posted December 23, 2019 (edited) For objects you have to import org.osbot.rs07.api.model.RS2Object Also in intellij u can click the RS2Object object and press alt+enter it will than import that for you if available. Edited December 23, 2019 by BravoTaco Quote Link to comment Share on other sites More sharing options...