ALM v11 REST Examples – More Challenges
Question ID: 104821
4
0

We are progressing in our REST journey.
However, we have another challenge.

We are getting the following error.
"Access restriction: The type BASE64Encoder is not accessible due to restriction on required library C:\\Program Files\\Java\\jdk1.6.0_20\\jre\\lib\\rt.jar".

Any ideas, thanks in advance.

Marked as spam
Posted by (Questions: 23, Answers: 1)
Asked on January 30, 2013 10:41 pm
46 views
Answers (1)
4
Private answer

HP uses the sun.misc.BASE64Encoder in the REST v11 examples.
The BASE64Encoder is a part of the Sun packages and not included in the java packages by default.

HP has recommended using the BASE64 Encoder from Apache instead.
http://commons.apache.org/codec/ includes BASE64

Marked as spam
Posted by (Questions: 0, Answers: 613)
Answered on January 30, 2013 10:49 pm
0
Thanks Sammy again.
( at January 30, 2013 10:50 pm)
0
Forgot to mention that in the v11.5 examples, HP has provided their own Base64Encoder java class.
( at January 30, 2013 10:51 pm)
0
Thanks for the heads up on v11.5 version.
( at January 30, 2013 10:53 pm)
0
Yes, v11.5 examples include its own encoder class. We are still trying to work our way through the examples. A bit of a challenge.
( at January 30, 2013 10:55 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top