I was able to solve this by using Spring's
AbstractTransactionalJUnit4SpringContextTests (to cache the
applicationContext) and adding a new ModuleDef to PageTester. Unfortunately,
SpringModuleDef seems to take ApplicationContext as a constructor argument
in 5.0.18, but not in 5.1.05.
@ContextConf
I tried changing to locator.proxy and direct instantiation, but no dice. For
proxy(), I used:
public static void
contributeMasterObjectProvider(OrderedConfiguration
configuration,
ObjectLocator locator)
{
configuration.add("spring"
There will be a trace in the console of what Tapestry IoC was doing
when it hit the issue.
However, this looks like the culprit:
public static void contributeMasterObjectProvider(
OrderedConfiguration configuration,
ObjectLocator locator) {
configuration.add("spri