Error while running in Command prompt only, In eclipse running fine.

Printable View