Eclipse에서 컴파일시 Access restriction rt.jar 에러
Eclipse에서 컴파일시 Access restriction : The method ...... rt.jar 이러한 에러가 발생하는 경우가 있다. Windows -> Preferences -> Java -> Compiler -> Errors/Warnings Deprecated and restricted API 에서 Forbidden reference(access rulues) : 부분이 에러라고 되어 있을것이다. Warning 혹은 Ignore로 설정하면 문제가 해결된다.