0 Replies Latest reply on May 19, 2003 7:18 AM by Vishal Sharma

    Deployment Error : EJB Spec violation

    Vishal Sharma Expert

      Hi all,

      I am having this deployment error when deploying a CMP bean.

      Error :
      23:01:57,269 INFO [MainDeployer] Undeployed file:/opt/jboss/jboss-3.2.1/server/all/deploy/MyBank.jar
      23:02:02,290 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss/jboss-3.2.1/server/all/deploy/MyBank.jar
      23:02:03,707 WARN [verifier] EJB spec violation:
      Bean : Account
      Section: 22.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element.
      Info : Class not found: cmp.AccountCMP

      23:02:03,709 ERROR [MainDeployer] could not create deployment: file:/opt/jboss/jboss-3.2.1/server/all/deploy/MyBank.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.

      Now I have looked into my ejb-jar file but cannot understand whats wrong in that.

      my bean is in pacakge cmp called Account.

      Snippet from ejb-jar file.





      Now it is complaning about fully qualified name, there is no other directory now.
      I am using eclipse for this and this cmp package is under BankApp project.

      Cany anyone help me with this.

      Thanks in advance