I am doing a small web project. I am using eclipse luna, apache tomcat v7.
I am getting the error cannot resolve java.servletx
. I have added the servlet jar file to the project. Still not able to find out what the issue is.
Asked
Active
Viewed 394 times
0

Kapol
- 6,383
- 3
- 21
- 46
-
check whether the jar is loaded in your project? – soorapadman Sep 15 '15 at 13:40
-
possible duplicate http://stackoverflow.com/questions/4076601/how-do-i-import-the-javax-servlet-api-in-my-eclipse-project – soorapadman Sep 15 '15 at 13:42
-
the jar is loaded to the correct project. Still cant the servlet file cant be resolved. Pretty much tried all i know. – Akhilesh Krishnan Sep 15 '15 at 15:25
-
Check whether the servlet-api.jar file is present in the lib folder of your tomcat – Avinash Reddy Sep 16 '15 at 06:13