Access restriction: The type JFrame is not accessible due to restriction on required library
来源:互联网 发布:赤兔cms破解版 编辑:程序博客网 时间:2024/06/03 23:02
使用eclipse开发工具在需要JFrame时, 提示无法解析继承的类名,提示
error:
Access restriction: The type JFrame is not accessible due to restriction on required library D:\java2sdk\jre\lib\rt.jar
at com.hao123.HisJFrame.main(HisJFrame.java:13)
Exception in thread "main"
解决方法:
Project -> Properties -> libraries, 先remove掉JRE System Library,然后再Add Library重新加入D:\java2sdk\jre\lib【我安装java目录】下面的 .jar 包。
0 0
- Access restriction: The type JFrame is not accessible due to restriction on required library
- Access restriction: The type JFrame is not accessible due to restriction on required library
- Access restriction: The type JFrame is not accessible due to restriction on required library
- Access restriction: The type JFrame is not accessible due to restriction on required 错误
- Access restriction: The type XXX is not accessible due to restriction on required library XXX
- 解决Access restriction: The type XXXX is not accessible due to restriction on required library
- Access restriction: The type is not accessible due to restriction on required library问题处理
- Access restriction: The type XXX is not accessible due to restriction on required library XXX
- Access restriction: The type JPEGCodec is not accessible due to restriction on required library
- Access restriction: The type BASE64Encoder is not accessible due to restriction on required library
- Access restriction: The type XXXX is not accessible due to restriction on required library
- Access restriction: The type BMPImageReader is not accessible due to restriction on required library
- Access restriction: The type XXX is not accessible due to restriction on required library
- Access restriction: The type JPEGCodec is not accessible due to restriction on required library
- access restriction: The type * is not accessible due to restriction on required library
- Access restriction: The type BASE64Decoder is not accessible due to restriction on required library
- Access restriction: The type XXXX is not accessible due to restriction on required library
- Access restriction:The type JPEGCodec is not accessible due to restriction on required library
- 操作xml工具类
- OC - 字典常用方法
- Chrome OS支持在窗口中运行Linux了!!!
- 《C语言及程序设计》实践项目——数据的输出
- 复杂SQL的编写要领
- Access restriction: The type JFrame is not accessible due to restriction on required library
- hadoop2.x常用端口及定义方法
- vs2012edit browse control控件不显示浏览按钮
- 使用string 的注意事项
- iptables规则的查看、添加、删除和修改
- LEETCODE: Linked List Cycle II
- Reactor与Proactor的概念
- android开机向导的实现
- ioc - 多线程问题