为什么方法Base64.encodeBase64String(byte)不可用 [英] why method Base64.encodeBase64String(byte) is not available

查看:10955
本文介绍了为什么方法Base64.encodeBase64String(byte)不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经包含在我的项目构建路径中apache commond codec 1.7 .jar从官方网页,但方法 Base64.encodeBase64String(byte 不可用,当我写我的代码
我已经测试了旧版本的jar(1.5,1.6),但没有任何工作。



谢谢!

解决方案

由于我在寻找类似的问题时发现这个问题,所以我会把它发布在这里,以便人们可以找到它,maven仓库有一个这个库的版本20041127.091804我认为这是一个故障,日期有时被转储到版本号,但它显示为最新版本,不包括此功能,您可以点击它旁边的版本按钮,看到它是从2005年和最新版本(当我写这个时)是1.8。希望这有帮助。


Hello I have included in my project build path apache commond codec 1.7 .jar from the official web page but the method Base64.encodeBase64String(byte is not available when I write my code. I have tested with older versions of the jar (1.5, 1.6) but nothing works.

Thank you!

解决方案

Since I found this while searching for a similar problem I figured I would post it here so people can find it. The maven repository has a version of this library "20041127.091804" I assume this is a glitch where the date somehow got dumped into the version number but it shows up as the latest version and does not include this function. You can click on the versions button next to it and see that it is from 2005 and the latest version (as of when I write this) is 1.8. Hope this helps.

这篇关于为什么方法Base64.encodeBase64String(byte)不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆