Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Encryption/Decryption

770099May 26 2010 — edited May 26 2010
I have written a java class to encrypt and decrypt a string . I am using "apache.commons.codec" library to do this. I have the library and my encryption jar both added as external resource. I have cataloged the jar containing the encryption logic so now the methods are all visible to be.

Now when I test this jar from an activity by running it from the studio it works great. I can see the string getting encrypted and then decrypted, but when i start the engine and test it through the portal It throws error.

"Caused by: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.decodeBase64(Ljava/lang/String;)[B"

Not sure why this is happening. I assume if the code works from an activity it shd also work in runtime unless there is something clashing with this jar in runtime.

any help on this will be appreciated.

-Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2010
Added on May 26 2010
2 comments
2,044 views