title: .java is not on the classpath of project, only syntax errors are reported
body: <p>I could not find a proper answer to this error in other posts. 
  I am using Maven for building my project in VS Code and whenever I create a class this error appears. 
  Do I need to do anything with .classpath file? 
  Correct me if I am mistaken, this error is pointing out that the class is not recognized by the .classpath file in which it belongs to, so I have to address it in that file. </p>
  
  <p>Tnx</p>