Jump to content

Failed to load local Script


Recommended Posts

Posted (edited)

Yes, I'm aware there are several similar threads, but none of the proposed solutions have worked for me.  

image.png.ebaa2cbc6d016be0f157864a09d852ac.png

This is the log being produced when I go to load scripts.  I am using IntelliJ with Java 1.8.

Library import:

image.png.8b313d461751a9f59985b68085532741.png

Artifact:

image.png.4060e1818a90a53962de4286834d5171.png

I have tried a clean slate by deleting everything OSBot related and reinstalling.  I tried deleting the script and rebuilding it several times over.  The script is present in the script folder.

The code contains absolutely nothing but bare bones as you can see:

 

I have seen several other people have encountered the problem but I have not found a good solution.  Thank you for any help or suggestions.

image.png

Edited by yotedtoast
Accidental duplicate image
Posted (edited)
2 hours ago, yotedtoast said:

Yes, I'm aware there are several similar threads, but none of the proposed solutions have worked for me.  

image.png.ebaa2cbc6d016be0f157864a09d852ac.png

This is the log being produced when I go to load scripts.  I am using IntelliJ with Java 1.8.

Library import:

image.png.8b313d461751a9f59985b68085532741.png

Artifact:

image.png.4060e1818a90a53962de4286834d5171.png

I have tried a clean slate by deleting everything OSBot related and reinstalling.  I tried deleting the script and rebuilding it several times over.  The script is present in the script folder.

The code contains absolutely nothing but bare bones as you can see:

 

I have seen several other people have encountered the problem but I have not found a good solution.  Thank you for any help or suggestions.

image.png

Looks fine to be honest, Is the project version 1.8 aswell?
Can you check your scripts folder and see what you have in there? What type of file?

Try this aswell:
For the jar name "Chopper" in the first screenshot, try "Chopper:jar"

Edited by Khaleesi
Posted
8 hours ago, Khaleesi said:

Looks fine to be honest, Is the project version 1.8 aswell?
Can you check your scripts folder and see what you have in there? What type of file?

Try this aswell:
For the jar name "Chopper" in the first screenshot, try "Chopper:jar"

You were right, project was set to 1.19 instead of 1.8.  I had 1.8 installed just not set in project.  File is now showing up and working.  

 

Thank you!

  • Heart 1

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...