Scanner Java Import Non-Existence Error


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
                                                     Caused by: java.lang.ClassNotFoundException:

Please sign in to leave a comment.