Access restriction: The type SwingUtilities2 is not accessible due to restricti
2013-01-21 10:05
471 查看
报错:
Access restriction: The type SwingUtilities2 is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.jar
解决:
Eclipse 默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer- Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。
Access restriction: The type SwingUtilities2 is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.jar
解决:
Eclipse 默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer- Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。
相关文章推荐
- Access restriction: The type * is not accessible due to restrict,报错问题,只试过第一种,OK。
- Access restriction: The type * is not accessible due to restrict,报错问题,只试过第二种,OK。
- Access restriction: The type TaskTopicResolver is not accessible due to restrict
- Access restriction: The type * is not accessible due to restrict,报错问题,只试过第二种,OK。
- Access restriction: The type * is not accessible due to restrict,报错问题,只试过第二种,OK。
- Access restriction: The type * is not accessible due to restrict,报错问题
- Access restriction: The type * is not accessible due to restrict
- Access restriction: The type * is not accessible due to restrict
- Access restriction: The type * is not accessible due to restrict,报错问题,只试过第二种,OK。
- Access restriction: The type * is not accessible due to restrict,报错问题.
- Access restriction: The type * is not accessible due to restrict,报错问题
- 杂(一): Access restriction: The type * is not accessible due to restrict
- [转]解决Access restriction: The type * is not accessible due to restrict
- Access restriction: The type * is not accessible due to restrict,报错问题
- The type *** is not accessible due to restricti...
- Access restriction: The type * is not accessible due to restrict,报错问题
- Access restriction: The type TaskTopicResolver is not accessible due to restrict
- Access restriction: The type * is not accessible due to restrict,报错问题,只试过第二种,OK。
- Access restriction: The type TaskTopicResolver is not accessible due to restrict
- Eclipse:No fixes avaliable for 'Access restriction: The type basic is not accessible due to restrict