mardi 5 janvier 2016

java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base64

The exception "java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base64" means that the class Base64 is not found on your classpath.

you must add a jar that contain this class and add it to your classpath.
This is the name of the jar :commons-codec-1.6.jar
if you work with maven,this is the dependency:

<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.2</version>
</dependency>






Aucun commentaire:

Enregistrer un commentaire