TiPPeX Posted September 16, 2017 Share Posted September 16, 2017 Hello, So I've been re-factoring my scripts to have the same personal library instead of having duplicate code. After refactoring and importing the library as a dependency, I tried running it to see that I didn't ruin it. And I did ruin it... Got: Quote [ERROR][09/16 01:34:42 PM]: Failed to load local script : MyClass.class Error rose when Refreshing scripts on the osBot Launcher. Since I'm new to Java programming, is there something I missed while creating the library? It's looks something like this: Lib => lib.jar => Script + lib.jar => localScript.jar *P.S Using Intellij's IDEA 2017 With Java 8 (With Windows OS). Thanks for the help. TiPPeX. Link to comment Share on other sites More sharing options...
TiPPeX Posted September 17, 2017 Author Share Posted September 17, 2017 Thanks.. Link to comment Share on other sites More sharing options...
Fegit Posted September 20, 2017 Share Posted September 20, 2017 I have the same problem currently Link to comment Share on other sites More sharing options...
theanimals Posted January 3, 2020 Share Posted January 3, 2020 bump Link to comment Share on other sites More sharing options...
Camaro Posted January 3, 2020 Share Posted January 3, 2020 In project structure, go to artifacts. Under available elements, right click the library you want and select "Extract into Output Root". Rebuild. Link to comment Share on other sites More sharing options...