use <scope>provided</scope> in the mvn dependency section when including
the javax.servlet thing...
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
Jens
Am 02.03.10 19:18, schrieb Thiago H. de Paula Figueiredo:
On Tue, 02 Mar 2010 15:09:52 -0300, oskar_a
<s3746...@mail.inf.tu-dresden.de> wrote:
Hi,
Hi!
I have an Problem using T5 and javax.servlet. I need the
javax.servlet to
get the client IP (for some click statistics), so I added the
servlet-api
using maven.
You don't need to add the servlet API, as it's added automatically.
Tapestry is built on the servlet API.
java.lang.ClassCastException: org.apache.tapestry5.TapestryFilter
cannot be cast to javax.servlet.Filter
This looks like a classloader issue. Try removing the servlet API from
the dependencies.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org