4 Replies Latest reply on Aug 9, 2012 8:51 AM by Arka Sharma

    cglib-2.1.3.jar is in the classpath still giving java.lang.NoClassDefFoundError: net/sf/cglib/beans/BulkBeanException

    Arka Sharma Newbie

      Hi,

       

           I have an EJB project deployed in jboss-5.1.0. I have cglib-2.1.3.jar in my classpath and when I do "echo $CLASSPATH" it is also listed there. But still I am getting "java.lang.reflect.InvocationTargetException" caused by "java.lang.NoClassDefFoundError: net/sf/cglib/beans/BulkBeanException". I searched in net they are suggesting that cglib should be there in classpath.I already have that in my classpath. My project has jboss service in it which will copy some data from Mysql and insert it in HSQl.Both the db interaction is done by hibernate.I am cold deploying my EJB application.And getting this message

      "

      Error installing to Create: name=jboss.j2ee:jar=SDP_MTN_TIM_Telus_OI_V9.jar,name=DbStartUpService,service=EJB3 state=Configured" followed by the exception trace.My project name has been highlighted.

      Looking for some help....

       

      Regards,

      Arka