NoClassDefFoundError: org/apache/commons/codec/binary/Base64

Some times you may face this error, but may not get the right answer so i though it is better to post with steps to over come this error.

This problem occurs at run-time not at compile time, first search commons-codec.jar file in your talend installed directory like TalendInstallTOS_DI-Win32-r78327-V5.0.2pluginsorg.talend.designer.components.localprovider_5.0.2.r78327componentstMDMBulkLoad

if commons-codec.jar file is not on above mention location then download if from  commons-codec.jar file and. now we have our jar file ready so follow the steps to add it to build path.

  • click on Windows menu
  • then click on Preferences
  • search “ClassPath variables” at top left search text box.
  • result will be come then click on ClassPath variables. new popup window will be appeared.
  • Click on new button give name for your ClassPath variable, and then browse for commons-codec.jar and add it. 
  • here on done click on OK button and closed all the windows.

see the below screen for more details.

Talend Classpath Setting
Talend Classpath Setting

About Umesh

I am Software consultant with approx 7 years of experience mainly in Business Intelligence and data warehousing assignments using Talend. Writing is not my passion but i am doing it to help others. if you have any special case where you want me to demonstrate then please post me.

Leave a Reply

Your email address will not be published. Required fields are marked *