Hi Pete,
The error indicates you are using a version of the bookstore sample
that is greater than the version of the dependent jersey jars.
What versions of the bookstore sample and jersey jars are you using?
Paul.
On Jul 14, 2009, at 2:28 PM, Peter.Neu_at_gmx.net wrote:
> Hello,
>
> I'm trying to run the bookstore app from the samples on a tomcat 6
> with jre 1.5. When I try to run the app I get a Class Cast exception
> with the Jersey filter:
>
> Exception starting filter Jersey Filter
> java.lang.ClassCastException:
> com.sun.jersey.spi.container.servlet.ServletContainer
>
> My IDE tells me that the class
> com.sun.jersey.spi.container.servlet.ServletContainer is not
> assignable to javax.filter.
>
> Any ideas what's wrong?
>
> Cheers,
> Pete
>
> --
> Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>