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

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

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

    隨筆 - 6, 文章 - 1, 評論 - 13, 引用 - 0
    數據加載中……

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

    在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,重新編譯后就一切正常了。但是我仍然很疑惑是為什么。。。
    原文見: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

    轉自:
    http://palwang.iteye.com/blog/906425

    posted on 2011-10-26 22:29 風清揚 閱讀(29238) 評論(11)  編輯  收藏 所屬分類: J2SE

    評論

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

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

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

    問題解決,謝謝。頂一個
    2014-10-29 09:36 | mini

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict[未登錄]  回復  更多評論   

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

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

    問題搞定謝謝
    2014-12-20 10:52 | exp

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

    真的好用了。。。牛逼
    2015-04-22 11:19 | 爪哇網

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

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

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

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

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

    真的謝謝。原因會否與jar的加載順序有關?
    2016-01-20 11:22 | 獨者

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

    謝謝
    2016-02-26 13:06 | 阿凡達

    # re: Access restriction: The type BASE64Encoder is not accessible due to restrict  回復  更多評論   

    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  回復  更多評論   

    有效果
    2016-06-01 15:57 | 行走的風

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 四虎在线最新永久免费| 国产精品区免费视频| 精品国产免费观看| 亚洲成人黄色在线| 91久久成人免费| 四虎亚洲精品高清在线观看| 拨牐拨牐x8免费| 久久亚洲精品无码av| 亚洲成人影院在线观看| WWW国产成人免费观看视频| 亚洲综合无码精品一区二区三区| 一级毛片免费播放试看60分钟 | 成人毛片免费播放| 亚洲欧美aⅴ在线资源| 香蕉视频在线观看免费国产婷婷 | 一级美国片免费看| 中文字幕亚洲不卡在线亚瑟| 免费福利电影在线观看| 亚洲精品第五页中文字幕| 免费无码又爽又刺激高潮| 免费无码专区毛片高潮喷水 | 国产成人免费爽爽爽视频| 国产亚洲Av综合人人澡精品| 亚洲天堂中文字幕在线| 久99久精品免费视频热77| 亚洲一级特黄特黄的大片| 免费在线观看你懂的| 黄色免费在线网站| 激情综合亚洲色婷婷五月APP| 亚洲av麻豆aⅴ无码电影| 99视频精品全部免费观看| 亚洲色最新高清av网站| 亚洲色大成网站www永久一区| 久久久久久精品免费免费自慰| 亚洲人成网国产最新在线| 亚洲综合最新无码专区| 99蜜桃在线观看免费视频网站| 亚洲精品9999久久久久无码| 情人伊人久久综合亚洲| 全免费一级午夜毛片| 久久青草免费91线频观看不卡|