

Eclipse导入import sun.misc.BASE64Decoder报错的解决办法 方法:1、在工程下的 Java Build Path 中先Remove掉Libraries中的JRE System Library,
2、在 Add Library 中选择 JRE System Library 就可以了,
3、这里需要补充的是在 Add Library 中选择 JRE System Library后,有Execution environment和alternate JRE两个选择,我们如果没有设置过前者,需要选择后面的alternate JRE,这样会自动找到自己曾经安装的jdk,问题就解决了!
亲测有效 
|