I extracted the parser.jar file into weblogic/classes and started running
ant
I am getting the following error.

I am using weblogic 5.1. Is the error is due to uncompatible parser.jar
verion??

ejbc:
   [ejbjar] building TheEJBJar.jar with 5 files
     [ejbc] java.lang.ClassCastException
     [ejbc]     at
weblogic.xml.dom.DOMUtils.getOptionalElementsByTagName(DOMUti
ls.java, Compiled Code)
     [ejbc]     at
weblogic.xml.dom.DOMUtils.getOptionalElementByTagName(DOMUtil
s.java:170)
     [ejbc]     at
weblogic.xml.dom.DOMUtils.getOptionalValueByTagName(DOMUtils.
java:97)
     [ejbc]     at
weblogic.ejb.deployment.dd.EJBReadDOM.getDescriptionValue(EJB
ReadDOM.java:404)
     [ejbc]     at
weblogic.ejb.deployment.dd.DescriptorLoader.createDeploymentU
nit(DescriptorLoader.java:200)
     [ejbc]     at weblogic.ejbc.runBody(ejbc.java, Compiled Code)
     [ejbc]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [ejbc]     at weblogic.ejbc.main(ejbc.java:353)
     [ejbc] ERROR: java.lang.ClassCastException
     [ejbc] Java Result: 1


Srini.

Reply via email to