看起来您正在使用Web应用程序中包含的jar中不存在的类。您可以尝试以下吗?如有必要,请进行调整,我只是在查看通用文档,然后将其输入-
- 转到http://commons.apache.org/prec/index.html并阅读那里的信息
- 现在转到http://commons.apache.org/prec/download_prec.cgi并下载zip文件
- 解压缩jar文件并将其复制到Web应用程序的lib目录中
- 替换行[String encoding = base64Enprer.enpre(“ test:test”);]
与
String encoding = new String( org.apache.commons.prec.binary.base64.enprebase64 (org.apache.commons.prec.binary.StringUtils.getBytesUtf8("test:test")) );


