Saturday, 24 August 2013

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.

9 comments:

Spring boot with CORS

CORS (Cross-Origin Resource Sharing) errors occur when a web application running in a browser requests a resource from a different domain or...