javaeclipsedebuggingprogram-entry-pointthrows

Eclipse IDE is catching an error in main however main itself has no issues?


[https://i.sstatic.net/iKE4t.png]]

I have no code in my main method, or any separate classes. I'm still getting errors.
    public static void main(String[] args) {

    }
However the debugger say main() is throwing Error(id=23)
===========================================================
  Unresolved compilation problem: Unhandled exception type FileNotFoundException



Solution

  • For anyone out there make sure you check the problems tab next to the console tab. I had a build path error. I was selecting an invalid library. So the debugger just throws some random error.