I have some dao services that i would like to test and for that i need a
running hibernate session. I can't seem to get tapestry-hibernate to
load in my tests however. What I have to load the ioc is basically:

RegistryBuilder builder = new RegistryBuilder();
IOCUtilities.addDefaultModules(builder);
builder.add(AppModule.class);
builder.build();

The exception I'm getting is:

Caused by: java.lang.RuntimeException: No service implements the
interface org.apache.tapestry.services.ApplicationGlobals.
        at
org.apache.tapestry.ioc.internal.RegistryImpl.getService(RegistryImpl.java:475)
        at
org.apache.tapestry.ioc.internal.ObjectLocatorImpl.getService(ObjectLocatorImpl.java:45)

Anyone been able to load up a hibernate environment with t5 ioc in a
test yet?

-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to