程式師世界 >> 編程語言 >> JAVA編程 >> JAVA綜合教程 >> Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on required library,restriction
Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on required library,restriction
編輯:JAVA綜合教程
Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on required library,restriction
1.問題描述
找不到包 sun.misc.BASE64Encoder
2. 解決方案
只需要在project build path中先移除JRE System Library,再添加庫JRE System Library,重新編譯後就一切正常了。