Added the gson jar file to the lib folder and updated the class path.