0 Replies Latest reply on May 30, 2003 4:21 PM by Erik Hansen

    Failed deploy with customer Finder methods

    Erik Hansen Newbie

      I am consistently getting messages from JBoss when I try to deploy a entity bean with a customer finder defined (using XDoclet). I can see that the query element is present in ejb-jar.xml, but JBoss complains:

      15:59:52,021 WARN [verifier] EJB spec violation:
      Bean : Chassis
      Method : public abstract ChassisLocal findChassisByName(String) throws FinderException
      Section: 10.5.6
      Warning: Every finder method except findByPrimaryKey(key) must be associated with a query element in the deployment descriptor.

      What gives? Am I missing something?