TiPPeX Posted September 16, 2017 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.
Camaro Posted January 3, 2020 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.