zoukankan      html  css  js  c++  java
  • 【Eclipse】 Eclipse 中JPEGEncodeParam 错误波浪线问题

    [异常信息]
    Description Resource Path Location Type
    Access restriction: The method encode(BufferedImage, JPEGEncodeParam) from the type JPEGImageEncoder is not accessible due to restriction on required library C:Program FilesJavajre1.5.0_15lib t.jar JRImageLoader.java /stariboss-tianjin_client/src/main/java/net/sf/jasperreports/engine/util line 181 Java Problem
     
     
    [解决方法]
    这个是eclipse的设置问题,它默认把这些受访问限制的API设成了ERROR,
    只要把
    Windows-Preferences-Java-Complicer-Errors/Warnings
    里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过了 
  • 相关阅读:
    web网络编程
    C++ 多线程*****(看书补充)
    C++信号处理
    预指令
    C++模板*******
    C++ 命名空间
    动态存储
    异常处理**********
    私钥、秘钥详解
    Pod控制器应用进阶
  • 原文地址:https://www.cnblogs.com/liuyongcn/p/5338839.html
Copyright © 2011-2022 走看看