<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 6, 文章 - 1, 評(píng)論 - 13, 引用 - 0
    數(shù)據(jù)加載中……

    Access restriction: The type BASE64Encoder is not accessible due to restrict

    在Eclipse中編寫(xiě)Java代碼時(shí),用到了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,再添加庫(kù)JRE System Library,重新編譯后就一切正常了。但是我仍然很疑惑是為什么。。。
    原文見(jiàn):http://zhoushuyan.cn/java/the-type-base64decoder-is-not-accessible-due-to-restriction-on-required-library/
    ------------------------------
    Windows -> Preferences -> Java -> Compiler -> Errors/Warnings ->
    Deprecated and trstricted API -> Forbidden reference (access rules): -> change to warning

    轉(zhuǎn)自:
    http://palwang.iteye.com/blog/906425

    posted on 2011-10-26 22:29 風(fēng)清揚(yáng) 閱讀(29237) 評(píng)論(11)  編輯  收藏 所屬分類: J2SE

    評(píng)論

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    果然是這樣啊!!頂一個(gè)!!
    2014-09-05 10:26 | 下一行code

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    問(wèn)題解決,謝謝。頂一個(gè)
    2014-10-29 09:36 | mini

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict[未登錄](méi)  回復(fù)  更多評(píng)論   

    a623397674: niubi 厲害
    2014-12-06 11:52 | jie

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    問(wèn)題搞定謝謝
    2014-12-20 10:52 | exp

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    真的好用了。。。牛逼
    2015-04-22 11:19 | 爪哇網(wǎng)

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    有效
    2015-07-23 21:07 | Pom

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    66666
    2015-12-02 14:13 | 謝琮

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    真的謝謝。原因會(huì)否與jar的加載順序有關(guān)?
    2016-01-20 11:22 | 獨(dú)者

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    謝謝
    2016-02-26 13:06 | 阿凡達(dá)

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    Access restriction: The type BASE64Decoder is not accessible due to restriction on required library C:\Program Files\Java\jdk1.6.0_24\jre\lib\rt.jar
    2016-03-24 16:04 | 11

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復(fù)  更多評(píng)論   

    有效果
    2016-06-01 15:57 | 行走的風(fēng)

    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲精品免费网站| 全黄a免费一级毛片人人爱| 中文字幕亚洲一区二区三区| 午夜亚洲WWW湿好爽| 在线观看免费亚洲| 九九精品国产亚洲AV日韩| 日本免费的一级v一片| 欧美亚洲精品一区二区| 免费a级毛片在线观看| 特黄aa级毛片免费视频播放| 亚洲情a成黄在线观看| 久久久精品视频免费观看| 久久久久亚洲精品中文字幕| 青青操免费在线视频| 久久亚洲精品成人| 一区二区三区四区免费视频 | 免费鲁丝片一级在线观看| 亚洲午夜无码毛片av久久京东热| 免费高清在线影片一区| 国产亚洲精彩视频| 亚洲中文字幕无码不卡电影| 99精品在线免费观看| 亚洲av永久无码嘿嘿嘿| 国产成人免费a在线视频app| 72pao国产成视频永久免费| 亚洲AV无码国产在丝袜线观看| 最近免费最新高清中文字幕韩国| 亚洲一卡2卡4卡5卡6卡在线99 | 国产精品偷伦视频免费观看了| 亚洲高清专区日韩精品| 国产麻豆视频免费观看| 美女羞羞喷液视频免费| 国产∨亚洲V天堂无码久久久| 成人在线免费看片| 免费精品国自产拍在线播放| 久久久久亚洲精品影视| 女人18一级毛片免费观看| 2022国内精品免费福利视频| 亚洲一区电影在线观看| 亚洲精品无码久久不卡| 1000部拍拍拍18勿入免费视频下载|