java - Eclipse servlet error -
this question has answer here:
i working functional .war file imported intro java tutorial i'm following. had change jdk using (via installed jre page). after changing i'm getting "javax.servlet cannot resolved" error code. have ideas?
check project build path whether servlets api. jar file included or not. can add in 2 ways:
1) add servlets api .jar file build path
or
2) add server runtime (i add tomcat server runtime library) in build path
hope helps.
Comments
Post a Comment