Fixed the problem that the application didn't run from Eclipse