That must be a bug, when I updraded to version 1.0.1 of guice-struts plugin and moved libraries from tomcat/common to web-inf/lib everything is back to normal.
I will remove the guice filter :) if it is unnecessary. Thx, Lukasz Dnia 30-07-2007 o godz. 3:24 Jeromy Evans napisał(a): > Lukasz, > > It was a few months ago, but I recall encountering the same problem when > trying to define a Guice module. As you described, it worked fine > without a Module but failed when one was specified. > I tracked it down to a bug (in the plugin I think?) and it was solved by > building the current version of Guice from source. > > Building it was extremely easy. > I currently use revision 328 from > http://google-guice.googlecode.com/svn/trunk (which is many months old) > > My configuration is as Oleg described, with the addition of the module > specification in struts.xml > > Extract from struts.xml > <constant name="guice.module" value="packagename.ExampleModule"/> > > Extract from struts.properties: > struts.objectFactory = guice > > ie. No need to use the Guice filter in web.xml. > > hope that helps, > Jeromy Evans ---------------------------------------------------- Tylko od nich zależy czy przeżyją tę noc.Jak uciec, gdy oni widzą wszystko. Kate Beckinsale w mrocznym thrillerze MOTEL - kinach od 3 sierpnia! http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fmotel.html&sid=1241 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]