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(CGLIBLazyInitializer.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(CGLIBLazyInitializer.java:107) > at > org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]