sun.misc.BASE64Encoder找不到jar包

首選解決方案網絡

    思路:將JRE移除,而後再從新添加,記得須要從新排序到以前的位置(項目src之下)
ui

        右鍵(出現問題的項目) --> 屬性(preferences) --> 編譯環境(Java Build Path) --> 找到資源庫標籤(Libraries) --> 選中(JRE System Library ...) --> Remove(在窗口右邊) -->  添加資源庫(Add Library ... ) --> 選擇JRE System Library(而後下一步下一步)spa

         --> 再找到順序與輸出標籤(Order and Export) --> 選中(JRE System Library ...) --> 點擊向上(UP)移動至僅次於src之下.  --> 選擇肯定(OK)排序

    若是還不行的話須要從新編譯
資源

備用解決方案編譯

    Windows --> Preferences --> Java --> Compiler -> Errors/Warnings -->  Deprecated and trstricted API --> Forbidden reference (access rules): --> change to warning(規則由默認的Error改成Warning)項目

此文摘錄與網絡.移動

相關文章
相關標籤/搜索