0 Replies Latest reply on Apr 5, 2006 7:40 AM by adrianoferranti

    Problem running the entity sample in the EJB3 Tutorial

    adrianoferranti

      When I try to deploy the sample app (in C:\jboss-EJB-3.0_Preview_5\docs\tutorial\entity), the deployment fails with the following stack trace.

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:service=EJB3,module=tutorial.ejb3
      State: FAILED
      Reason: java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration
      .addAnnotatedClasses(Ljava/util/List;)Lorg/hibernate/cfg/AnnotationConfiguration
      ;