2 Replies Latest reply on Feb 21, 2002 11:56 PM by Premjith

    Deployment ERROR with Stateless Session Bean

    Ben Newbie

      Hi All,

      I am attempting to port a simple bean from Weblogic to Jboss. I have some simple example beans in JAR files and they deploy OK, but my simplest production bean cannot be deployed by jboss (2.4.4). I get the following exception message...

      [ERROR,ContainerFactory] Verify failure
      java.lang.NoClassDefFoundError: javax/ejb/SessionBean

      I get the same error with javax.ejb.EJBHome as well...

      [INFO,ContainerFactory] Deploying Help
      [ERROR,J2eeDeployer] Starting help.jar failed!
      [ERROR,Default] java.lang.NoClassDefFoundError: javax/ejb/EJBHome

      Code differences are few. The test bean that deploys OK is not in a package, the faulty bean is.

      Can anyone help? Has anyone had this before?