Skip to main content

The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files


if you right click on your project and choose build path->configure build path 


and then choose the libraries tab. click on the add library button.




Now select the server runtime.



Select the appropriate server.


That's it you are done.

Comments

Post a Comment