250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Tomcat
- jpa
- SpringBoot
- Python
- Thymeleaf
- JavaScript
- error
- Docker
- oracle
- maven
- 설정
- Eclipse
- Open Source
- MSSQL
- STS
- MySQL
- 오픈소스
- AJAX
- Source
- myBatis
- spring
- 문서
- git
- Exception
- Spring Boot
- JDBC
- ubuntu
- IntelliJ
- PostgreSQL
- Core Java
Archives
- Today
- Total
헤르메스 LIFE
[ERROR] not accessible due to restriction on required library 본문
728x90
개발환경 : Eclipse 3.5(Galileo)
Java Project 개발 중 아래와 같은 ERROR이 발생했습니다.
내용은 '필수 라이브러리의 제한에 의해 액세스 할 수 없다'라는 메시지입니다.
이 메시지는 정확하게 컴파일오류는 아닙니다. 그런데, 빨강으로 표시되서 기분이 안좋을 뿐이져.. ㅡㅡ;;
Multiple markers at this line
- Access restriction: The type SunJCE is not accessible due to restriction on required library C:\jdk1.6.0_21\jre\lib\ext\sunjce_provider.jar
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required library C:\jdk1.6.0_21\jre\lib\ext\sunjce_provider.jar
해결방법
방법 1. JRE Compile path를 삭제하고, 별로의 USER LIB로 연결합니다.
방법 2. Eclipse의 Java Complie설정을 변경하면 됩니다.
Windows -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and trstricted API -> Forbidden reference (access rules): -> warning 으로 변경
Java Project 개발 중 아래와 같은 ERROR이 발생했습니다.
내용은 '필수 라이브러리의 제한에 의해 액세스 할 수 없다'라는 메시지입니다.
이 메시지는 정확하게 컴파일오류는 아닙니다. 그런데, 빨강으로 표시되서 기분이 안좋을 뿐이져.. ㅡㅡ;;
Multiple markers at this line
- Access restriction: The type SunJCE is not accessible due to restriction on required library C:\jdk1.6.0_21\jre\lib\ext\sunjce_provider.jar
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required library C:\jdk1.6.0_21\jre\lib\ext\sunjce_provider.jar
해결방법
방법 1. JRE Compile path를 삭제하고, 별로의 USER LIB로 연결합니다.
방법 2. Eclipse의 Java Complie설정을 변경하면 됩니다.
Windows -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and trstricted API -> Forbidden reference (access rules): -> warning 으로 변경
728x90