12 Replies Latest reply on May 17, 2006 11:08 AM by Clebert Suconic

    ClassNotFoundException on Lazy Proxies on JBoss 4.0

    Clebert Suconic Master

      I executed some tests with EJB3 on JBoss 4.0, and only used /jboss/client as my client libraries.

      I was having classNotFoundException until I added hibernate.jar and cglib.jar to my classpath.

      the first class missing was org.hibernate.proxy.pojo.cglib.SerializableProxy,

      Fixed after adding hibernate3.jar


      Second class missing then was net/sf/cglib/proxy/MethodInterceptor

      Fixed after adding cglib.jar into classpath.

      I thought we have made these proxies (the hibernate one) as part of client libraries, and we've made javassist the default proxy manager.