0 Replies Latest reply on Apr 18, 2002 6:51 PM by tkeala

    "java.lang.ObjectMissing no-arg constructor for class" on co

    tkeala

      I am deploying my first CMP2.0 beans on JBoss3_0_0, and my context lookups (not even the creation of the bean) in my servlet are causing this error:

      2002-04-17 14:45:67,253 ERROR [Default] javax.naming.CommunicationException. Root exception is
      2002-04-17 14:45:67,344 ERROR [Default] java.io.InvalidClassException: java.lang.ObjectMissing no-arg constructor for class

      when I try to look up my session bean like this:
      VendorManagerHome home = (VendorManagerHome) initialContext.lookup(VendorManagerHome.COMP_NAME);
      where COMP_NAME is "java:comp/env/ejb/housing/VendorManager"

      I saw what looked like the same problem posted at
      http://main.jboss.org/forums/thread.jsp?forum=47&thread=13071
      but didn't see a solution. Is this on the 3.0 bug list, or could I have something configured wrong?

      Tom