zoukankan      html  css  js  c++  java
  • Access restriction错误解决办法

    Access restriction错误, XX方法 is not accessible due to restriction on required library XXlib

    解决方案:

    Eclipse 默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer- Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。

  • 相关阅读:
    JasperReport
    Linux
    Linux
    Linux
    Linux
    Groovy
    Linux
    VS
    Aliyun
    Linux
  • 原文地址:https://www.cnblogs.com/waban/p/3550926.html
Copyright © 2011-2022 走看看