1 Reply Latest reply on Feb 9, 2002 6:41 PM by adrian.brock

    InstantiationException

    sunder

      Hi,
      I just deployed an entity bean and everything looked fine. It deployed and when I tried to use a command line client to look up the bean and run a finder method. I get the following error.

      EntityContainer invoke returned an exception
      java.rmi.ServerException: Could not instantiate bean; nested exception is
      java.lang.InstantiationException:com.epicedge.calabria.ejb.entity.userprofile.UserProfileBean

      Iam using jboss 3.0

        • 1. Re: InstantiationException

          java.lang.InstantiationException means the class is
          either abstract or an interface.

          Can you post more info about the definition of that
          class and any the relevant parts of ejb-jar.xml, jboss.xml?

          Regards,
          Adrian