JAVA Error: package org.apache.commons.codec.binary does not exist

I added commons-codec-1.4.jar in my project file and added 

 

import org.apache.commons.codec.binary.Base64;

But whenever I build it it will give me an error: The package org.apache.commons.codec.binary does not exist.
Why does it not work?

I also faced the same problem.
Solved this problem by adding commons-codec.jar 

You can download it from http://mvnrepository.com/artifact/commons-codec/commons-codec/1.7


Read More:

Leave a Reply

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