操作
对项目右击--->build path--->configure build path--->
选中默认jre
OK,操作完毕,
import sun.misc.BASE64Decoder;import sun.misc.BASE64Encoder;
就可以导入对应的jar包了。