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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -