Using GWT 2.3
This is the Guice stuff that I added to my web.xml
filter
filter-nameguiceFilter/filter-name
filter-classcom.google.inject.servlet.GuiceFilter/filter-class
/filter
filter-mapping
filter-nameguiceFilter/filter-name
url-pattern/*/url-pattern
/filter-mapping
Make sure you have only one GWT version on your classpath. The gwt/dev/asm
classes are in gwt-servlet.jar, which should be the only GWT jar you need on
the server side (along with validation-api.jar and json.jar).
Also, in order to get the benefits of Guice injection for RF services,
you'll need
Actualy I already have Guice injection on RF services and I didn't had to
subclass RFS nor work with service layer decorators... well, at least in
devmode it works
On Fri, Jul 1, 2011 at 9:38 AM, David Chandler drfibona...@google.comwrote:
Make sure you have only one GWT version on your
Thank you, David, the problem was that I wasnt using gwt-servlet at all
On Fri, Jul 1, 2011 at 10:16 AM, Magno Machado magn...@gmail.com wrote:
Actualy I already have Guice injection on RF services and I didn't had to
subclass RFS nor work with service layer decorators... well, at least in
This is what I get if I don't put it on classpath:
java.lang.NoClassDefFoundError: com/google/gwt/dev/asm/commons/Method
at
com.google.web.bindery.requestfactory.server.ResolverServiceLayer.clinit(ResolverServiceLayer.java:46)
at
Which version of GWT? You shouldn't need gwt-dev.jar to run
RequestFactoryServlet. Can you share your Guice config? Are you passing any
params to RFS?
On Thu, Jun 30, 2011 at 7:28 PM, Magno Machado magn...@gmail.com wrote:
This is what I get if I don't put it on classpath: