users@jersey.java.net

[Jersey] Re: JerseyTest and Guice

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Sun, 20 Mar 2011 07:49:11 -0700 (PDT)

I'm a bit frustrated. I've been trying for days to get Guice to work with any
jersey-test container. I couldn't find a way to register GuiceFilter with
InMemoryTestContainer. I registered GuiceFilter and
GuiceServletContextListener with GrizzlyTestContainer but it still tried
using Jersey for IoC. I tried the same with EmbeddedGlassfish and got "The
ResourceConfig instance does not contain any root resource classes".

Can someone please point me to a complete/running testcase that illustrates
how to get jersey-test working with Guice?

Thank you,
Gili

--
View this message in context: http://jersey.576304.n2.nabble.com/Re-Re-Jersey-JerseyTest-and-Guice-tp5675712p6189658.html
Sent from the Jersey mailing list archive at Nabble.com.