Why java unknown: import org.apache.commons.codec.binary.Base64;?

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, …)

Leave a Comment