Access restriction: The type XXX is not accessible due to restriction on required library XXX(转载)...

it2024-11-07  2

- Access restriction: The type IInboundMessageNotification is not accessible due to restriction on required library C:\Program Files\Java\jdk\jre\lib\ext  \jdsmsserver-3.4.jar

 

google了一下 下面是解决方法

 

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

转载 :

http://blog.csdn.net/hexin373/article/details/7175325

 

转载于:https://www.cnblogs.com/wuhenke/archive/2012/10/08/2715568.html

相关资源:数据结构—成绩单生成器
最新回复(0)