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

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

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

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

    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

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

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

    評論

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    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ù)  更多評論   

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

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


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 在线观看永久免费视频网站| a视频在线免费观看| 精品久久久久成人码免费动漫| 久久久婷婷五月亚洲97号色| 99爱在线精品视频免费观看9| 亚洲国产精品线在线观看| 久久久久久成人毛片免费看 | 国产成人青青热久免费精品| 亚洲精品无码mⅴ在线观看 | 九九美女网站免费| 亚洲av最新在线网址| 国产精品99精品久久免费| 337p日本欧洲亚洲大胆艺术| 亚欧在线精品免费观看一区| 77777亚洲午夜久久多喷| 成人免费视频一区二区三区| 国产成人精品亚洲一区| 国产精品亚洲玖玖玖在线观看| 成人免费av一区二区三区| 久久久久亚洲AV片无码| 84pao强力永久免费高清| 久久乐国产综合亚洲精品| 免费在线观看一级毛片| 成全高清在线观看免费| 亚洲电影在线播放| 国产美女被遭强高潮免费网站| 国产成人1024精品免费| 亚洲第一中文字幕| 免费无码又爽又刺激高潮的视频| 免费国产在线精品一区| 亚洲AV日韩AV天堂久久| 成年女人视频网站免费m | 无人在线观看免费高清| 亚洲午夜在线播放| 久久久久亚洲爆乳少妇无| 99久在线国内在线播放免费观看| 亚洲乱码日产精品一二三| 亚洲人成在线播放网站| 在线观看免费污视频| 大地资源在线资源免费观看| 亚洲色精品VR一区区三区 |