摘要:
贴出错误提示代码【节选】:Access restriction: The method encode(byte[]) from the type CharacterEncoder,Access restriction: The type FileURLConnection is xxx纠错结果:这个是eclipse设置问题,它默认把这些受访问限制的API设成了ERROR,只要把Windows-Preferences-Java-Complicer-Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(acces 阅读全文