The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path

Below dependency needs to be added.

<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>javax.servlet-api</artifactId>
    <version>3.1.0</version>
    <scope>provided</scope>
</dependency>
Content Protection by DMCA.com
Please Share