Websphere Application server- After updating the existing war files the customized code is not working

In websphere application server, we changed the class file and then updated the war file and then started the server. In Application,After filling the user login details it will trigger an email. But after updated the war files we are getting the following error.
Error 500: java.lang.NoClassDefFoundError: sendmail/Mailer
Kindly assist us. For this error what we can do?