Eclipse引入JRE中类提示出错
2016-08-19 00:00
435 查看
如下引入JRE中的类
Eclipse报错。
Eclipse中设置:
import sun.misc.BASE64Decoder; import com.sun.xml.internal.bind.marshaller.CharacterEscapeHandler;
Eclipse报错。
Eclipse中设置:
Windows -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and trstricted API -> Forbidden reference (access rules): ->由Error改为 warning 即可。
相关文章推荐
- Eclipse 启动出错,提示"JVM terminated.Exit code=-1"
- eclipse项目出错却没有提示的解决方法
- eclipse编译maven项目出错- No compiler is provided in this environment. Perhaps you are running on a JRE ra
- 关于最新版Eclipse(eclipse-android-neon-2)创建Android项目时 application icon提示出错问题
- Problems During Content Assist Eclipse代码提示错误,代码助手出错
- 项目在eclipse布署时tomcat时出错,提示:Deployment failure on Tomcat 5.x. Could not copy all resources to.....
- eclipse注解提示卡主出错 或者注解提示没有注解的解决
- 在ECLIPSE导入项目后提示::具有不受限制的类路径容器:“JRE 系统库 [JVM 1.6.0]”
- 解决eclipse引入第三包提示出现找不到类文件java.lang.NoClassDefFoundError: net/sf/json/
- eclipse中引入javax包下资源提示说访问受限
- 【Java】安装Maven后,提示“Eclipse is running in a JRE, but a JDK is required”的解决方法
- eclipse 安装spket引入智能提示时为什么无法引入sdk.jsb3文件?
- maven插件 myeclipse 提示Eclipse is running in a JRE, but a JDK is required 解决方法
- ubuntu,jdk安装成功后,点击eclipse,提示信息A Java RunTime Environment (JRE) or Java Development Kit (JDK)
- jre配置了1.6,但是eclipse仍然提示需要1.6以上的java
- Problems During Content Assist Eclipse代码提示错误,代码助手出错
- 安装后打开eclipse,提示出错
- linux eclipse提示A Java Runtime Environment (JRE)
- eclipse run提示错误解决办法: Native library for Attach API not available in this JRE
- eclipse提示:Eclipse is running in a JRE, but a JDK is required