You need to update your Maven pom.xml file to include the Servlet API on the
classpath.

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


On 5/26/07, Marcus <[EMAIL PROTECTED]> wrote:

Hi Petros,

using this code i have that compilation error in eclipse:

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

thanks,

Marcus




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to