I'm trying to upgrade my project from tapestry-spring 5.0.18 to 5.2.4. I have the following in a test class:
@ContextConfiguration(locations = { "classpath:/applicationContext-resources.xml", "classpath:/applicationContext-dao.xml", "classpath:/applicationContext-service.xml", "classpath*:/applicationContext.xml", "/WEB-INF/applicationContext*.xml"}) public abstract class BasePageTestCase extends AbstractTransactionalJUnit4SpringContextTests { protected PageTester tester; @Before public void before() { String appPackage = "org.appfuse.webapp"; String appName = "app"; tester = new PageTester(appPackage, appName, "src/main/webapp") { @Override protected ModuleDef[] provideExtraModuleDefs() { return new ModuleDef[]{new SpringModuleDef(applicationContext)}; } }; However, it looks like SpringModuleDef no longer takes an ApplicationContext. What's the new way to do this? [ERROR] symbol : constructor SpringModuleDef(org.springframework.context.ApplicationContext) [ERROR] location: class org.apache.tapestry5.internal.spring.SpringModuleDef Thanks, Matt -- 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-tp3368139p3368139.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