Hi Pawan, By default rebuild is set to false.. Kind of strange behavior. I'll add the j2ee.jar which is missing in my weblogic jars and see if it helps. Thanks a lot for your quick answer. netaB -----Original Message----- From: Pawanraj Sadhwani [mailto:pawanraj@elitecore.com] Sent: Tuesday: May 04: 2004 9:31 AM To: 'Ant Users List' Subject: RE: EJB problem web logic jars are not on the classpath. u will need to put the j2ee jar of weblogic in the classpath. or specify the dtd's as below in the ejbjar element. hope this helps.. btw, rebuild is supposed to be "true" by default isnt it? Cheers Pawan -----Original Message----- From: Neta Bar Tal [mailto:NETAB@Amdocs.com] Sent: Tuesday, May 04, 2004 11:49 AM To: user@ant.apache.org Subject: EJB problem Hi All, I'm trying to build my ejb's and deploy them. I'm using the weblogic ejbc and when I give the attribute rebuild="true" I get the following error message: create_ejbs_job: [ejbjar] Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD Enterpr ise JavaBeans 1.1//EN, systemId: http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd) to a local entity [ejbjar] building AccountServicesBean.jar with 5 files BUILD FAILED /iphome.e65003a/ip/ccip/mb_ccip/bb/gcme/v60_0/build.xml:49: Following error occu red while executing this line java.lang.NoClassDefFoundError: javax/ejb/EJBObject when I don't pass this attribute it creates all the jars as expected. any suggestions? thanks netaB The information contained in this message is proprietary of Amdocs, protected from disclosure, and may be privileged. The information is intended to be conveyed only to the designated recipient(s) of the message. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. The information contained in this message is proprietary of Amdocs, protected from disclosure, and may be privileged. The information is intended to be conveyed only to the designated recipient(s) of the message. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org