I don't use spring but pagetester has a constructor that takes extra modules. Do you have to construct the modules yourself or can you just pass SpringModule.class to the constructor?
Alternatively you can add a @SubModule(SpringModule.class) annotation to your AppModule and not have to worry about it. On Feb 3, 2011 6:05 AM, "m...@raibledesigns.com" <m...@raibledesigns.com> wrote: > > I'm doing this to solve @Inject in unit tests. If there's a better way to do > it, I'd love to hear about it. > > http://source.appfuse.org/browse/appfuse/trunk/web/tapestry/src/test/java/org/appfuse/webapp/pages/BasePageTestCase.java?r=HEAD > -- > View this message in context: http://tapestry.1045711.n5.nabble.com/Compiler-error-when-upgrading-from-tapestry-spring-5-0-18-to-5-2-4-tp3368139p3369288.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org >