<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 風清揚 閱讀(29244) 評論(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 | 行走的風

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


    網站導航:
     
    主站蜘蛛池模板: h视频在线观看免费网站| 99免费精品视频| 成人午夜大片免费7777| 亚洲精品国产成人| 日韩电影免费观看| 亚洲精品你懂的在线观看| 国产美女视频免费观看的网站| 国产免费av片在线无码免费看| 亚洲丰满熟女一区二区哦| 成人无遮挡毛片免费看| 亚洲欧美第一成人网站7777 | 中文字幕免费在线看电影大全| 亚洲色偷偷综合亚洲AV伊人| 欧亚一级毛片免费看| 亚洲熟女乱综合一区二区| 国产无遮挡又黄又爽免费网站| 欧洲亚洲国产清在高| 99xxoo视频在线永久免费观看| 亚洲国产成人九九综合| 无码专区永久免费AV网站| 日韩色视频一区二区三区亚洲 | 日韩特黄特色大片免费视频| 国产精品亚洲专区无码不卡| 亚洲乱码国产一区网址| 狠狠躁狠狠爱免费视频无码| 亚洲va久久久噜噜噜久久 | 精品丝袜国产自在线拍亚洲| 免费观看的av毛片的网站| 国产av无码专区亚洲av毛片搜| 中文亚洲成a人片在线观看| 免费女人高潮流视频在线观看| 亚洲av永久无码嘿嘿嘿| 免费人成视频在线观看视频| 在线免费观看h片| 亚洲精品国产精品国自产网站 | 亚洲一区二区三区在线观看网站| 国产18禁黄网站免费观看| 国产一二三四区乱码免费| 亚洲一区中文字幕在线观看| 亚洲av高清在线观看一区二区| 国产美女精品视频免费观看 |