Scanner Java Import Non-Existence Error
Answered
I wanted to make a user input Java project, so I typed in import java.util.Scanner; and then red lines appeared under it meaning that there was an error. So, I just ran the code to see if it was just a glitch, and then it said an error message. Can you help?
B.T.W. here's the error message Error: Could not find or load main class com.company.Main
Caused by: java.lang.ClassNotFoundException: com.company.Main
Please sign in to leave a comment.
Please see https://stackoverflow.com/a/61180376/104891 and https://stackoverflow.com/a/42660624/104891.