When i was working on a class i have got the following error..
Access restriction: The type BASE64Encoder is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar
I resolved it by looking up on google, where I found that the error was due to a missing/not compatible jar.
Go to the Build Path settings in the project properties.
Remove the JRE System Library.
Add it back, Select "Add Library" and select the JRE System Library.
0 Comment(s)