13 Replies Latest reply on Aug 29, 2002 10:51 AM by Dzidas

    entity bean must not be abstract.. help!

    Derek Wood Newbie

      I am getting the following warning messages in my log
      file. I should be running using EJB 2.0. Note the
      snippets from my ejb-jar.xml file below. Any ideas?

      2002-08-03 13:49:50,738 INFO [org.jboss.ejb.EJBDeployer]
      Bean : Cabin
      Section: 9.2.2
      Warning: The entity bean class must not be defined as abstract.

      2002-08-03 13:49:50,968 INFO [org.jboss.ejb.EJBDeployer]
      Bean : Cabin
      Warning: The primkey-field element must name a public field in the bean implementation class.

      first line of ejb-jar.xml file:
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
      JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

      in the entity bean descriptor: