Fix server not starting cause of main class not found.