Jump to content

Failed to load local Script


yotedtoast

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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