I am trying to replicate what I saw in this video:
While coding I am unable to import Base64 class, and got this error: import org.apache.commons.codec.binary.Base64; but got an error, saying java.lang.ClassNotFoundException unknown apache.commons.codec.binary.Base64
How can I upload the needed library?
Thank you
You need to add the Apache Commons Codec library to your project. You either need to download the *.jar file and add it to the project folder and project configuration or you let your build processor automatically download it.
See https://mvnrepository.com/artifact/commons-codec/commons-codec/1.9 Latest is version 1.15
This website provides a download link for the *.jar file as well as configuration settings for different build processors (Maven, Gradle, ...)