[Error] The import javax.servlet.RequestDispatcher cannot be resolved 에러 해결방법
반응형
The import javax.servlet cannot be resolved 에러 해결 방법
깃허브에서 간단한 서블릿 프로젝트를 임포트했는데 빌드하고 나니 이런 에러들이 찍힌다. The import javax.servlet cannot be resolved를 포함해서 GenericServlet cannot be resolved to a type ServletExcept..
atoz-develop.tistory.com
이 블로그처럼 나도 어떤 프로젝트를 내려받아서 import 하고, pom.xml에서 의존성 수정하고, configure > convert to maven까지 해줬는데도 에러가 계속 남아있었다. JSP, Java Problem 있다고 에러가 나서 뭐지 하고 봤더니
The import javax.servlet.RequestDispatcher cannot be resolved
이 에러가 여러 개 떴고 구글링 바로 갈겼다... 난생 처음보는 에러이자 해결법인데
Properties > Targeted Runtimes 에서 톰캣 서버 설정해주고 apply 했더니 문제가 해결되었다^^
반응형
'Logs' 카테고리의 다른 글
-
[Error] The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml or the jar files deployed with this application 에러 해결하는 방법2022.09.24
-
[Error] A JNI error has occurred 에러 해결하는 방법2022.09.19
-
[MySQL] Error Code: 1055. Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'XXX' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by 해결 방법2022.09.15
-
[MySQL] 맥북 터미널에서 MySQL 경로 설정하기 + 비밀번호 바꾸기2022.09.13