-
1. Re: Problems with extended classes and Entity Beans
lbroudoux Nov 19, 2002 12:36 PM (in response to rpmiranda)Hello,
I've got the same problem ... I use Xdoclet 1.1.2 to generate the bean classes
but when JBoss try to load the entity, I'm getting the following exception :
javax.ejb.EJBException: Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodName=setEntityContext
at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at org.jboss.proxy.compiler.Runtime.invoke(Lorg.jboss.proxy.compiler.InvocationHandler;I[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at mma.it.repos.ejb.DocumentTypeCMP$Proxy.setEntityContext(Ljavax.ejb.EntityContext;)V(Unknown Source)
...
I'm using JRockit 7.0-1.4.0 vm on Win2k and JBoss-3.0.4.
I'm not using EntityContext in my beans so the method is
the one generated by Xdoclet in the CMP class :
public void setEntityContext(javax.ejb.EntityContext ctx)
{
}
Has someone an idea on how to solve this problem ?
Thanks a lot ...
--
Laurent