I had to add this dependencies:
<dependency>
<groupId>asm</groupId>
<artifactId>asm-all</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.1_3</version>
</dependency>
On 9/12/07, Vincenzo Vitale <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> in my project I use Hibernate 3.2.4.sp1 and with cxf 2.0.1-incubator I get
> the exception:
>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'sessionFactory' defined in class path resource [
> oasis-db-context.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 :117)
>
> when the server starts.
>
> Here I have red it could be for the asm library but also excluding it in
> the
> pom file the problem persist.
>
> I solved it just using cxf 2.0-incubator but maybe there is another
> solution
> using the last cxf release.
>
>
> Someone with the same problem?
>
>
>
> Ciao,
> V.
>