Eclipse supports configuration transfer from sun. Package: The http://my.oschina.net/u/867417/blog/115988 uses base64decoder in the project
,An inexplicable error is reported in the eclipse editor.
,
Multiple markers at this line
-Access restriction:The
TypeBase64decoderIsNot accessible due to restriction on
Required library c: \ Program Files \ Java \ jre6 \ Lib \ RT. Jar
-Access restriction:TheMethod Decodebuffer(
String)From the type
Characterdecoder is
Not accessible due to restriction on required library c: \ Program Files \ Java \ jre6 \ Lib \ RT. Jar
-Access restriction:TheConstructor base64decoder ()
IsNot accessible due
Restriction on required library c: \ Program Files \ Java \ jre6 \ Lib \ RT. Jar
Eclipse has no permission to access sun. * In rt. jar.,Right-click the project and choose Properties-Java build path.,Select the libraries tab on the right
,Expand JRE system library,Select access rules,Click Edit
,Add a rule,Select accessible for resolution.,Enter rule pattern in Sun /**
,After saving, the error disappears.