Jump to content

Please assist, easy fix I assume


Recommended Posts

Posted

Ok, I'm rather new here, and fairly new to using Java, but I still feel like I am missing something super simple, I used the Beginners Tutorial located in the forums to set everything up, and all seemed to go properly.  What I am seeing though, is my path configuration doesn't look like the one in the tutorial (image provided) and I am getting a red line under the "p" in the very first line " package core; "

w/ error message "The type org.osbot.lpT9 cannot be resolved. It is indirectly referenced from required .class files"

Quick fix tells me to "Open the Java build path property page of project "  then directs me to correct the path

I configured the path as directed in the tutorial, and while doing so noticed that I had a different (older) version, I tried to find the version 2.5.6 as shown in tutorial but couldn't find a trustworthy working link.  Is the issue directly related to the older version, or have I mucked something up trying to start out?  If I DO need the other version of OSBot can someone please provide a working DL link please.

Thanks in advance

help.png

Posted

Also, I am getting a lot of red lines when I copy and paste scripts from the forums, in the tutorial it states that the path may be the issue with excessive red lines and to refer back to those steps.  SOME of the errors offer quick fix and allow me to import the proper class, then lines go away, but not all, and why is it not just able to access those files?

 

Sorry, I know these are likely extremely dumb errors on my part, but I have exhausted myself trying to find the answer without having to beg for help lol, I admit my failure presently...

Posted
3 hours ago, slimy said:

Ok, I'm rather new here, and fairly new to using Java, but I still feel like I am missing something super simple, I used the Beginners Tutorial located in the forums to set everything up, and all seemed to go properly.  What I am seeing though, is my path configuration doesn't look like the one in the tutorial (image provided) and I am getting a red line under the "p" in the very first line " package core; "

w/ error message "The type org.osbot.lpT9 cannot be resolved. It is indirectly referenced from required .class files"

Quick fix tells me to "Open the Java build path property page of project "  then directs me to correct the path

I configured the path as directed in the tutorial, and while doing so noticed that I had a different (older) version, I tried to find the version 2.5.6 as shown in tutorial but couldn't find a trustworthy working link.  Is the issue directly related to the older version, or have I mucked something up trying to start out?  If I DO need the other version of OSBot can someone please provide a working DL link please.

Thanks in advance

help.png

Ok, so when i used eclipse i used to sometime get that error randomly, just restart eclipse and it should work for "sometime", thats the main reason why i switched to intellij.

Posted

Thanks everyone for taking the time to read my post, I have no idea what fixed it, but it is fixed lol... Also, I had attempted to backup my work so as not to lose what I had already, and made Main(2) it was interfering as well as it was made inside the project I had open and was giving an error of "Main already referenced" or something to that effect, deleting the backup resolved that and my first OSbot script ran as well as I expected lol. So I've just taken to saving the code to notepad for copy/paste if it goes to hell lol.

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...