Author Message
DmitrySenashenko3
Joined: Aug 28, 2019
Messages: 62
Offline
I am looking for way getting of events from POM.
I opened EventSDKSampleApp and I found quite strange issue.
I took latest Eclipse for my Mac and During run of EventSDKSampleApp I got the following:
"java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder"
call of this old lib is in EventSDK and it is not possible to change it.
JRE 1.8 should use it but I found new Eclipse doesn't know anything about this.
Old Eclipse works with it. New Eclipse - not.
How possible to fix this? I understand the issue is in EventSDK. New one from POM 4.1.0 has the same issue as well.
Rg, Dmitry
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
If you are using Java 8, try to use class java.util.Base64 for Base 64 encoding and decoding.

Otherwise a third-party library, ex. org.apache.commons.codec.binary.Base64 from Apache Commons Codec: https://commons.apache.org/proper/commons-codec/.
Go to:   
Mobile view