سؤال

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top