forbidden reference1 Access restriction: The type Resource is not accessible due to restriction on required library jdk 1.5 를 사용해서 스프링의 애노테이션을 사용하다가 jdk 1.6을 사용하면서 에러가 발생했다. import javax.annotation.Resource; 위 부분이 1.6에서는 “Access restriction: The type Resource is not accessible due to restriction on required library” 에러가 발생한다. 이 에러를 제거하는 방법은 다음과 같다. Window>Preferences>Java>Compiler>Errors/Warnings 을 선택한 후에, 우측 “Deprecated and restricted API 를 선택해서 열린 하위메뉴에서 “Forbidden reference(access rules) 를 “Error” 에서 “Warn.. 2014. 2. 7. 이전 1 다음