`
lushuaiyin
  • 浏览: 705309 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

The constructor BASE64Encoder() is not accessible due to restriction on required library的解决方法,经过测试正确

 
阅读更多

The constructor BASE64Encoder() is not accessible due to restriction on required library
2010-01-27 09:27

在Eclipse中编写Java代码时,用到了BASE64Decoder,import sun.misc.BASE64Decoder;可是Eclipse提示:
Access restriction : The type BASE64Decoder is not accessible due to restriction on required library C:\Program
files\java\jre6\lib\rt.jar
Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on required library C:\Program files\java\jre6\lib\rt.jar

搞不懂是为什么,最后在http://forums.dzone.com/eclipse/384-access-restriction-problems.html找到答案,只需要在project build path中先移除JRE System Library,再添加库JRE System Library,重新编译后就一切正常了。但是我仍然很疑惑是为什么。。。
分享到:
评论

相关推荐

    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

    Unity - Behavior Designer Ver 1.5.7

    CreateInstanceFromType is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject '...

    constructor name is not defined(解决方案).md

    constructor name is not defined(解决方案).md

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: The TFlexPanel.FindControlAtPoint method maked virtual to realize RealTime-capability when on mouse cursor moving the flex-object search not occurs. - FIX: After deleting the selected points ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    On modern processors smaller code usually runs faster due to better use of the instruction cache. Decision: A decent rule of thumb is to not inline a function if it is more than 10 lines long. ...

    微信小程序百度地图js

    微信小程序百度地图js,可嵌套在微信小程序里面进行百度地图开发

    A Guide to MATLAB Object-Oriented Programming

    Assuming an intermediate level of MATLAB programming knowledge, the book not only concentrates on MATLAB coding techniques but also discusses topics critical to general software development....

    JestTestRunner实现在Electron环境中运行测试

    8. **集成测试与端到端测试**:除了单元测试,你还可以编写集成测试和端到端测试,确保应用在Electron环境中整体功能的正确性。这可能需要配合如Puppeteer或Playwright这样的工具来模拟用户交互。 总结,利用Jest ...

    JSP Simple Examples

    In this program we are going to know how the server determines whether the password entered by the user is correct or not. This whole process is controlled on the server side. Multiple forms in jsp ...

    servlet2.4doc

    The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain. doGet...

    Java邮件开发Fundamentals of the JavaMail API

    POP is the mechanism most people on the Internet use to get their mail. It defines support for a single mailbox for each user. That is all it does, and that is also the source of a lot of confusion...

    CyAPI说明文档

    More specifically, it is a C++ class library that provides a high-level programming interface to the CyUsb3.sys device driver. The library is only able to communicate with USB devices that are served...

    setter-on-constructor-prototype.rar_The Next

    在JavaScript编程中,"setter-on-constructor-prototype.rar_The Next"这个主题涉及到对象属性的访问和修改,尤其是关于构造函数原型链上的setter方法。在描述中提到的"Get the name of the next property of Result...

    反射之操作Constructor 构造方法类分析.md

    反射之操作Constructor 构造方法类分析.md

    Android代码-Watchface-Constructor

    This is simple watchface constructor demo. It offers customization of the following features: Background colors and images Watch hands Placement of watch hands Ambient mode How it works? Pull ...

    C 程序设计教学课件:Chapter 3 class and object.ppt

    Chapter 3 of the C++ programming course delves into the fundamental concepts of object-oriented programming, specifically focusing on classes and objects. Object-oriented programming (OOP) is a ...

    ape_a0452d物理引擎

    The APEngine.container property is now of type DisplayObjectContainer, not Sprite. Renamed 'rotation' to 'radian' in RectangleParticle to be consistent with SpringConstraint. Thanks to Robert Brisita ...

    数据结构作业Hash表

    Goals: This assignment is designed to reinforce the student's understanding of the use of hash tables as searchable containers. Outcomes: Students successfully completing this assignment would master...

    java反射之Constructor

    Java 反射之 Constructor Java 反射机制中的 Constructor 类提供了关于类的单个构造方法的信息,包括对它的访问权限、Class 获取构造函数的方式等。下面将详细讲解 Constructor 类的概述、获取构造函数的方式、构造...

    netWindows_0.3.0_pre2

    21:57 russcoon Exp $_______________________________________________________________________________0.3.0 pre2OVERVIEW: netWindows 0.3 pre2 is fairly close to a release canidate for the 0.3 final ...

Global site tag (gtag.js) - Google Analytics