1 Reply Latest reply on Feb 8, 2002 6:27 PM by krypton

    Can't Find my ejbPostCreate method?

    HunterHillegas Newbie

      I just updated my CVS tree and tried to deploy some EBJs.

      I got this message:

      java.lang.NoSuchMethodException: Can't find ejb[Post]Create in com.jacobstern.ejb.entity.PurchaseRequestBean
      at org.jboss.ejb.plugins.CMPPersistenceManager.createMethodCache(CMPPersistenceManager.java:166)
      at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:131)
      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:339)

      That bean, PurchaseRequestBean, certainly DOES have an ejbPostCreate() method...

      Any ideas?

        • 1. Re: Can't Find my ejbPostCreate method?
          krypton Novice

          > I just updated my CVS tree and tried to deploy some
          > EBJs.
          >
          > I got this message:
          >
          > java.lang.NoSuchMethodException: Can't find
          > ejb[Post]Create in
          > com.jacobstern.ejb.entity.PurchaseRequestBean
          > at
          > at
          > at
          > t
          > org.jboss.ejb.plugins.CMPPersistenceManager.createMeth
          > dCache(CMPPersistenceManager.java:166)
          > at
          > at
          > at
          > t
          > org.jboss.ejb.plugins.CMPPersistenceManager.create(CMP
          > ersistenceManager.java:131)
          > at
          > at
          > at
          > t
          > org.jboss.ejb.EntityContainer.create(EntityContainer.j
          > va:339)
          >
          > That bean, PurchaseRequestBean, certainly DOES have
          > an ejbPostCreate() method...
          >
          > Any ideas?


          why does your stack trace have the line

          > java.lang.NoSuchMethodException: Can't find
          > ejb[Post]Create in

          ie why have the [ and ] in between ? This seems odd.

          Is this the error JBoss gives when attempting to deploy your ejb ?

          Can you supply the source of your ejbs or at least a cut down version ?