Hello list, A long shot...
I've run into an issue and I could use some help. I have a hibernate/spring/tapestry 4(.1.2-SNAPSHOT) application that has worked well for may moons, esp. with respect to this one section of code that loads an object, saves it, and then moves on. I'm getting a Persister not found exception. I want to beleive this is caused by any number of the possible reasons this is usually caused by: no mapping file, etc. The error is below. Anyway, I've reverted to oldder versoins of the SNAPSHOTS: <dependency> <groupId>org.apache.tapestry</groupId> <artifactId>tapestry-annotations</artifactId> <version>4.1.2-20070215.051249-11</version> </dependency> <dependency> <groupId>org.apache.tapestry</groupId> <artifactId>tapestry-framework</artifactId> <version>4.1.2-20070215.051249-15</version> </dependency> <dependency> <groupId>org.apache.tapestry</groupId> <artifactId>tapestry-contrib</artifactId> <version>4.1.2-20070215.051249-12</version> </dependency> Now, the problem seems to be gone, and functioning. However this makes me think that the issue is in one of the subsequent upgrades (i've not managed to isolate it, just yet, as I purposely overshot the plausible dates to be sure i was _REVERTED_. Anyway, is it possible some sort of conflict has been introduced in tapestry 4 with spring, or hibernate 2.15x or, so on? Perhaps an upgraded dependency or something? I'm sorry if this isn't germaine to this list, or maybe I'm inflicting classpath heck on the list, but I think it's tapestry specific. To be sure, I extracted the relevant sequence (get dao, get domain object, save.) to a TestNG unit test and it ran without exception (no pun) there just fine... e$$EnhancerByCGLIB$$b2cd7e92 at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:347) at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:2691) at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2698) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1383) at org.springframework.orm.hibernate.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:592) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:364) at org.springframework.orm.hibernate.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:589) at mycompanyhere.model.impl.HibernateShopperDAOImpl.addRestaurantProfile(HibernateShopperDAOImpl.java:784) at mycompanyhere.model.impl.HibernateShopperDAOImpl.updateRestaurantProfile(HibernateShopperDAOImpl.java:788) at mycompanyhere.model.impl.HibernateShopperDAOImpl$$FastClassByCGLIB$$8854a40e.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:705) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at mycompanyhere.model.impl.LoggerAdvice.invoke(LoggerAdvice.java:37) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643) at mycompanyhere.model.impl.HibernateShopperDAOImpl$$EnhancerByCGLIB$$b758edb.updateRestaurantProfile(<generated>) at mycompanyhere.view.pages.subscribers.EditRestaurantProfile.pageBeginRender(EditRestaurantProfile.java:171) at org.apache.tapestry.AbstractPage.firePageBeginRender(AbstractPage.java:406) at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:241) at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:404) at org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse(DefaultResponseBuilder.java:158) at org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:33) at $ResponseRenderer_110efd36343.renderResponse($ResponseRenderer_110efd36343.java) at org.apache.tapestry.engine.DirectService.service(DirectService.java:151) at $IEngineService_110efd363b5.service($IEngineService_110efd363b5.java) at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:246) at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54) at $WebRequestServicer_110efd3638d.service($WebRequestServicer_110efd3638d.java) at org.apache.tapestry.services.impl.DisableCachingFilter.service(DisableCachingFilter.java:54) at $WebRequestServicerFilter_110efd3638f.service($WebRequestServicerFilter_110efd3638f.java) at $WebRequestServicer_110efd36391.service($WebRequestServicer_110efd36391.java) at $WebRequestServicer_110efd36389.service($WebRequestServicer_110efd36389.java) Thanks in advance for your help! -- Joshua Long Sun Certified Java Programmer http://starbuxman.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]