eclipse中出现The con“structor 'NimbusLookAndFeel()' is not API ”的解决办法
来源:互联网 发布:守望先锋最新伤害数据 编辑:程序博客网 时间:2024/05/29 10:54
在eclipse中,有时会出现如下的错误:
它提示的错误信息是这样子的:
Access restriction: The constructor ‘NimbusLookAndFeel()’ is not API (restriction on required library ‘D:\java66\jre\lib\rt.jar’)
然后我的解决办法就是:
把Windows-Preferences-Java-Complicer- Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。
在此附上图片:
0 0
- eclipse中出现The con“structor 'NimbusLookAndFeel()' is not API ”的解决办法
- Eclipse中Access restriction: The type ‘XXX’ is not API 解决
- Eclipse出现 "Project facet Java 6.0 is not supported” 解决办法
- eclipse编写web.xml中出现The word '...' is not correctly spelled
- 在eclipse中执行team->pull出现the current branch is not configured for pull
- 运行Tomcat出现the JRE_HOME environment variable is not defined correctly 的解决办法
- 运行Tomcat出现the JRE_HOME environment variable is not defined correctly 的解决办法--个人经验记录
- Mybatis出现Type interface XXXMapper is not known to the MapperRegistry.的解决办法。
- Access restriction: The type 'ProxyGenerator' is not API --Eclipse MyEclipse
- Sourcetree使用ssh后出现 The server's host key is not cached in the registry问题的解决办法
- Google Map Android api V2 中使用MapView遇到CameraUpdateFactory is not initialized!的解决办法
- Google Map Android api V2 中使用MapView遇到CameraUpdateFactory is not initialized!的解决办法
- (上一篇的问题解决后又遇到的新问题)在eclipse中导入工程后运行任意文件出现"The selection is not within a valid module"
- Python2中input出现的name “xxx” is not defined问题原因及解决办法
- 在Eclipse中 执行Ant Api 报错 Java: ant com.sun.tools.javac.Main is not on the classpath
- 关于 Android中googleMaps的Geocoder, “the service is not available”解决办法
- IOS 开发中 Whose view is not in the window hierarchy 错误的解决办法
- IOS 开发中 Whose view is not in the window hierarchy 错误的解决办法
- 43.top10热门品类之使用Scala实现二次排序
- PHP利用魔术方法实现准AOP
- 关于Maven的Missing artifact解决方案
- Github pages + Hexo 博客 yilia 主题使用畅言评论系统
- js属性操作
- eclipse中出现The con“structor 'NimbusLookAndFeel()' is not API ”的解决办法
- MFC单文档之串口通讯实现16进制数据的发送和接收
- linux下软件安装、卸载、运行
- 修改VMware虚拟机网卡MAC地址的方法总结
- perl6变量类型学习
- 分治法求逆序对
- 16:踩方格
- 关于viewHolder的优化
- day36_spring配置文件