Re: question about inject annotation.

2008-07-16 Thread luna_guo
oh,i've got it. i put the wrong hibernate version. Filip S. Adamsen-2 wrote: > > Hi, > > What error message do you get? > > -Filip > > On 2008-07-16 16:37, luna_guo wrote: >> in tapestry 5.0.5 >> use tapestry-hibernate,to inject to Session,i write >> @org.apache.tapestry.annotations.Inject >

Re: question about inject annotation.

2008-07-16 Thread luna_guo
The error log is: [ERROR] 50:47(RecursiveServiceCreationCheckWrapper.java:createObject:64) Construction of service HibernateSessionSource failed: Error invoking service builder method org.apache.tapestry5.hibernate.HibernateModule.build(Logger, List, RegistryShutdownHub) (at HibernateModule.java:1

Re: question about inject annotation.

2008-07-16 Thread luna_guo
The Error Page is: Render queue error in Expansion[PropBinding[expansion Start(hello)]]: Error invoking service builder method org.apache.tapestry5.hibernate.HibernateModule.build(HibernateSessionSource, PerthreadManager) (at HibernateModule.java:78) (for service 'HibernateSessionManager'): Except

Re: question about inject annotation.

2008-07-16 Thread Filip S. Adamsen
Hi, What error message do you get? -Filip On 2008-07-16 16:37, luna_guo wrote: in tapestry 5.0.5 use tapestry-hibernate,to inject to Session,i write @org.apache.tapestry.annotations.Inject Session _session; It works well. then i change to 5.0.13, the inject annotation changed. @org.apache.tape