jar包问题The method decodeBase64(byte[]) in the type Base64 is not applicable for the arguments (String)

JAVA学习网 2018-08-25 08:44:02

此问题是你项目里的commons-codec.jar包里的Base64.decodeBase64方法只有byte[]参数 没有String参数。换一个这个jar包的版本就行了

往项目里添加jar包:右键项目->properties->java Build Path->libraries->add external jars添加外部jar包(选中jar包remove:移除jar包)

阅读(2258) 评论(0)