On Friday, February 8, 2013 1:10:15 AM UTC-5, Avanish Raju wrote:
>
> I figured this out today. I had a duplicate entry for guice-servlet.jar in 
> my Maven dependencies:
>
> <dependency>
> <groupId>com.google.inject.extensions</groupId>
> <artifactId>guice-servlet</artifactId>
> <version>2.0</version>
> </dependency>
> <dependency>
> <groupId>com.google.inject.integration</groupId>
> <artifactId>guice-servlet</artifactId>
> <version>1.0</version>
> </dependency>
>
> Removing the 1.0 entry fixed the problem.
>
> Thanks and Regards, 
> Avanish
>
You might want to use the maven-enforcer-plugin in your project or its 
parent if
any.  Use the <dependencyConvergence/> rule; this will flag as an error any
attempt to use two versions of any one dependency in your entire project.

Eric

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


Reply via email to