반응형

import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;

 

를 사용하려고 하는데 다음과 같은 메시지가 이클립스 화면에 보였다.

 

Access restriction: The type BASE64Encoder is not accessible due to restriction on required library.

Access restriction: The type BASE64Decoder is not accessible due to restriction on required library.

 

이 문제는 네이버의 검색을 통해 다음과 같이 해결하였다.

 

이클립스 환경설정을 열어 아래와 같이 설정한다.

Windows - Preferences

 

 

 

Apply 를 누르고 OK를 누르면

코드상의 에러표시부분이 경고표시로 바뀌었음을 확인할 수 있다.

 

반응형

+ Recent posts