IntelliJ IDEA: ClassNotFoundException if run Debug, execution/run does work
Looks like you have an exception breakpoint on ClassNotFoundException. Please try to open Run | View Breakpoints... and uncheck the breakpoint under "Java Exception Breakpoints".