On Fri, Mar 12, 2010 at 7:10 AM, Brandon Atkinson <
[email protected]> wrote:

> I have had this problem before.
>
> Are you using maven by any chance?
>
> If so, make sure that you've made servlet-api a provided dependency.
>
> For some reason, guice-servlet's pom declares that it has a compile time
> dependency on servlet-api.  This causes the servlet-api classes to be loaded
> into your war.  Since there are two defined copies of the servlet api
> classes (in two different class loaders) a CCE occurs.
>

messy =(

what do you suggest we do to our pom to fix this?

Dhanji.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to