http://opensource.atlassian.com/projects/hibernate/browse/HHH-2222 perchance?
On Thursday 15 November 2007 02:30:56 pm Marco Mistroni wrote: > Hello, > mm not really :) > found out that i had a clash between followign dependencies > - hibernate 3.2.x > - asm-all > -cglib > - spring ? > > i am trying to move my project from ant to maven, and we are using > hibernate spring, cglib and asm libraries > > when i downloaded them from web, i got error, > when instead i pointed to version installed on my local machine (teh > one i m using with ant) everythign worked fine.... > i'll need toinvestigate more as this may cause us problems if we > update any versions of spring or hibernate > > i'll report back here my findings once i proceed with my investigation > > regards > marco > > On Nov 14, 2007 9:04 PM, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Take a look at your applicationContext.xml file, apparently you have > > an issue with how you've defined your sessionFactory bean (??). > > > > org.springframework.beans.factory.BeanCreationException: Error > > creating bean with name 'sessionFactory' defined in class path > > resource [applicationContext.xml]: Invocation of init method failed; > > nested exception is java.lang.NoClassDefFoundError > > Caused by: java.lang.NoClassDefFoundError > > at > > org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIB > >LazyInitializer.java:107) > > > > Wayne > > > > On 11/14/07, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > > hi all, > > > i am trying to port an app from ant to maven , but it looks like i am > > > having troubles iwth dependencies......... > > > has anyone ever found the error below? > > > i attach my dependencies at the end of message, hope someone can sort > > > me out.... > > > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.39 > > > sec <<< FAILURE! > > > testGetBSDRBondIdsReturnsBondIds(com.bnpparibas.risk.collateralrisk.dao > > >.IssueDaoIntegrationTest) Time elapsed: 0.359 sec <<< ERROR! > > > org.springframework.beans.factory.BeanCreationException: Error > > > creating bean with name 'sessionFactory' defined in class path > > > resource [applicationContext.xml]: Invocation of init method failed; > > > nested exception is java.lang.NoClassDefFoundError > > > Caused by: java.lang.NoClassDefFoundError > > > at > > > org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGL > > >IBLazyInitializer.java:107) at > > > org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBP > > >roxyFactory.java:43) > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Steve Ebersole Hibernate Project Lead http://hibernate.org Principal Software Engineer http://redhat.com http://jboss.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
