Spring test 하던 중 import 가 안되면
Java Build Path 에 api 파일이 없어서 오류가 난것이다.
서블릿 관련한 jar 파일이 JDK에 제공되지 않아서 Tomcat 설치 폴더 안에
lib 파일 안에 jsp-api.jar 와 servlet-api.jar 파일을 Add External JARS... 해주면
" import javax.servlet " 부분의 오류가 사라짐!
해당 프로젝트 오른쪽 마우스 클릭 -> Build Path -> Configure Build Path... -> Libraries
'개발 > 에러해결&팁' 카테고리의 다른 글
안드로이드스튜디오 Error: Execution failed for task ':dexDebug'. / multiDexEnabled (1) | 2015.07.02 |
---|---|
SimpleDateFormat Locale.KOREAN - 영어한글요일표현 (0) | 2015.03.30 |
java.sql.SQLException: ORA-00911: 문자가 부적합합니다. (0) | 2015.02.17 |
[websqiare w5] Failed to load the JNI shared library ~ jvm.dll. (0) | 2015.02.09 |
Override/Implement Methods... (0) | 2014.09.24 |