Hi,

I've been through this many times, and it always was because of something
missing or wrong in the xml descriptors.

Itani

Nikil Kumar M wrote:

> Hi
>
> I am developing Entity Beans. I have compiled my .java files and have also
> created the initial jar (using jar -cvfM ......) . But when i try to create
> the actual jar file (using java weblogic.ejbc ....) i get the following
> error.
>
> weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Deployment
> Error: java.lang.NoSuchFieldException ]
>         at
> weblogic.ejb20.persistence.CMPBeanDescriptorImpl.<init>(CMPBeanDescriptorImp
> l.java:278)
>         at
> weblogic.ejb20.persistence.PersistenceType.setupDeployer(PersistenceType.jav
> a:393)
>         at weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:82)
>         at
> weblogic.ejb20.ejbc.EJB11CMPCompiler.generatePersistenceSources(EJB11CMPComp
> iler.java:62)
>         at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:163)
>         at weblogic.ejbc20.runBody(ejbc20.java:342)
>         at weblogic.utils.compiler.Tool.run(Tool.java:81)
>         at weblogic.ejbc.main(ejbc.java:20)
> Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
> FAILED *****[ Deployment Error: java.lang.NoSuchFieldException ]
>         at
> weblogic.ejb20.persistence.CMPBeanDescriptorImpl.<init>(CMPBeanDescriptorImp
> l.java:278)
>         at
> weblogic.ejb20.persistence.PersistenceType.setupDeployer(PersistenceType.jav
> a:393)
>         at weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:82)
>         at
> weblogic.ejb20.ejbc.EJB11CMPCompiler.generatePersistenceSources(EJB11CMPComp
> iler.java:62)
>         at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:163)
>         at weblogic.ejbc20.runBody(ejbc20.java:342)
>         at weblogic.utils.compiler.Tool.run(Tool.java:81)
>
> PS : I am using WebLogic 6.0 and i find that the fields that i have
> mentioned in the XML Files match the fields in the DB. There seems to be no
> problems in the names of the BEAN FIELD or the CMP-FIELD or the DBMS-FIELD.
>
> Thanks in Advance
>
> Nikhil
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to