LearnFast.Ninja

Eclipse Java HttpServlet not recognised

How to fix the HttpServlet cannot be resolved to a type error.

The problem:



Step 1: Right click the project then click properties.




Step 3: Click Targeted Runtimes then check the Apache Tomacat (or other runtime) click Applay and OK.


Result:


Tags

java

eclipse java httpservlet