lundi 22 août 2016

 symbol  : class HttpServletRequest

This exception occurs when you build a maven project .



To resolve it just put this dependency on your pom.xml.

 <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>javax.servlet-api</artifactId>
    <version>3.0.1</version>
    <scope>provided</scope>
</dependency>