-
1. Re: Can't Find my ejbPostCreate method?
kryptontri Feb 8, 2002 6:27 PM (in response to hunterhillegas)> 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 ?