java core
Access restriction: The type BASE64Decoder is not accessible due to restriction on required library 이슈.
'김용환'
2014. 4. 7. 21:05
이클립스 상에서 다음 코드에서 에러가 난다. java 7 / sts 3.4.0 release
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
이유는 이클립스 설정에서 나오는 것이었다.
Windows -> Preference -> Java -> Compiler -> Errors/Warnings
에서 Deprecated and restricted API의 Forbidden reference(access rules)의 단계를 error가 아닌 warning이나 ignore로 바꾸면 된다.