Hi Yugandhar,
Are you using UDF by referring to the blog of Eng, then can you please cross check whether you have imported the joda libraries correctly or not into your ESR.
Add External Jar files in your UDF - Working with API's
Also, please share the code for which you are getting the error.
Regards