`

Access restriction: The type OutputFormat is not accessible due to restriction on required library D:/Java/jdk1.6.0_20/jre/lib/r

 
阅读更多

这个异常是由于eclipse的设置引起的。eclipse的的默认编译器设置过高。

解决方法:

window-》preference-》java-》compiler-》errors/warning在"Deprecated and restricted API"下改变"Forbidden reference (access rules)" 的值为warning或 ignore.

分享到:
评论

相关推荐

    import com.sun.image.codec.jpeg.JPEGImageEncoder;包的下载

    Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.jar 此时解决办法: Eclipse默认把这些受访问限制的API设成了ERROR。只要...

    java识别验证码.docx

    Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.jar 此时解决办法: Eclipse默认把这些受访问限制的API设成了ERROR。只要把...

    sun.misc.base64decoder.jar下载

    sun.misc.BASE64Encoder找不到jar包的解决方法?... Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on required library C:\Program files\java\jre6\lib\rt.jar

    解决eclipse导入rt包问题

    在Eclipse中处理图片,需要引入两个包: ...Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.jar 解决方法就在这里

    51CTO下载-DSSM335V4.part1

    Note: If the Demo does not start, be sure that the Demo Configuration Editor is not running and there are not any other demos running. If you copied the demo package directory, make sure the DSSM_335...

    Universal-USB-Installer

    the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be ...

    BlueToolInstall

    except where such Software is embedded in a manner not readily accessible to the end user. Licensee acknowledges that any symbols, trademarks, BASLA v1.1 5/29/02 -1- tradenames, and service marks ...

    Sortable前端框架

    unwanted touchmove events even when your finger is not moving, resulting in the sort not triggering. This option sets the minimum pointer movement that must occur before the delayed sorting is ...

    一个win32下的ARM开源编译器

    This package is an ARM assembler add-on for FASM. FASMARM currently supports the full range of instructions for 32-bit and 64-bit ARM processors and coprocessors up to and including v8. Contents: ...

    简单的Java照相机源码

    * restriction, including without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the * ...

    pv3d api 中文

    PAPER ON ERVIS NPAPER ISION PE IS ON PERVI IO APER SI PA AP VI ONPA RV IO PA SI PA ER SI NP PE ON AP VI ION AP PERVI ON PE VISIO APER IONPA RV IO PA RVIS NP PE IS ONPAPE ER NPAPER IS PE ON PE ISIO AP ...

    or1200微处理器VerilogHDL代码

    //// This file is part of the OpenRISC 1200 project //// //// http://www.opencores.org/cores/or1k/ //// //// //// //// Description //// //// ALU //// //// //// //// To Do: //// //// - make it smaller ...

    AJAX 即时通讯例子

    // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or...

    最新版GDAL,有关开源遥感处理的

    to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit ...

    Progress/OpenEdge语言手册

    * Wherever integer appears, this is a reference to the INTEGER or INT64 data type. * Wherever character appears, this is a reference to the CHARACTER, LONGCHAR, or CLOB data type. * Wherever ...

    NModbus_net-3.5_1.11.0.0-source

    and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense...

    SQL Server Data Access Components 2.45.22 for d6

    [SQL Server] <-> [OLE DB] <-> [Client application]Using SQL Server Data Access gives you the following advantages: - No distribution, installation and configuration is required for BDE and ODBC;...

    Matlab工具包混合整数规划

    This directory contains the sources to the Mixed Integer Linear Program solver 'lp_solve' in gzip-ed tar format: lp_solve.tar.gz This is the supported version, which is written in strict ANSI C, ...

    Json.net for .net3.5

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...

Global site tag (gtag.js) - Google Analytics