본문 바로가기

에러

cannot be resolved to a type 에러

728x90
반응형

외부에서 import를 해서 가져왔을때 에러가 뜨는 경우가 있는데, 

프로젝트의 jdk버전과 import한 시스템의 jdk버젼이 달라서 에러가 뜨는 경우가 많다. 

 

<해결방법>

프로젝트 우클릭 

Build Path - Configure Build Path - Java Build Path - Libraries 

기존거 지우고 다시 추가 : Remove -> Add Library

 

 

 

 

[참고] 

https://bitsoul.tistory.com/90

728x90
반응형