The method encodeToString(byte[]) is undefined for the type Base64

 这是由于jar包冲突,查看lib文件夹中是否有低版本的commons-codec.jar

原文地址:https://www.cnblogs.com/Lemon-ZYJ/p/12751208.html