why method Base64.encodeBase64String(byte) is not available

空扰寡人 提交于 2019-12-02 14:08:41

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/16169008/why-method-base64-encodebase64stringbyte-is-not-available

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!