본문 바로가기

자주 뜨는 에러 모음집 👿4

Unable to locate client connectivity software ora7nt.dll. 출처 : https://blog.daum.net/chemusic/46 2021. 7. 9.
web.xml 오류 - there are '37' errors in 'jsp_2_1.xsd'. 자주나는 오류다. there are '37' errors in 'jsp_2_1.xsd' 이 뜨면서 web.xml이 빨간불이 생기는데 이럴땐 web.xml에서 javaee 부분 뒤에 세미콜론 (;) 을 붙여주면 해결이된다 2021. 7. 7.
정말 화가 끝까지 나는 index.jsp / 404 not found 에러 1. 프로젝트 우클릭 -> properties - > Web project Settings -> 경로가 '/' 인지 확인 2. 하단 서버 더블클릭 -> Modules -> Edit -> Path를 '/'로 수정 3. webapp/WEB-INF/web.xml -> appServlet / url-pattern이 '/' 인지 확인. 4. server/Tomcat. ~ /server.xml cs path = "/" 인지 확인 5. 위에것 다 한후 기도하기- > 톰캣 삭제후 재설치 최후의 수단 : 프로젝트 지우고 백업해놓은 프로젝트를 다시 import 여기까지 오면 왠만해선 해결되었음 2021. 6. 28.
getServletContext() 함수 사용 에러 오류-> The method getServletContext() is undefined for the type HttpServletRequest 원인은 HttpServletRequest 의 getServletContext() 함수는 Servlet 3.0 부터 지원되기때문이다 서블릿 3.0은 톰캣 7.0부터 지원된다는데 본인은 톰캣 8.5를 사용하는데도 에러가떴다. 이거 뭐지...? 해결책 두가지 1. 호출 or 2. pom.xml에 다음 dependency 추가 javax.servlet javax.servlet-api 3.0.1 provided javax.servlet.jsp jsp-api 2.2 provided javax.servlet jstl 1.2 참고 : http://stackoverflow.co.. 2021. 6. 28.