Try -debug mode.... it might yield more explicit details. Erik
----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Sunday, March 24, 2002 8:04 PM Subject: classpath issue when compiling jsps > > All, > I am trying to compile some jsps using apply task. The apply task I am > using as follows. > > <target name="jspcompile" depends="init"> > <apply executable="java"> > <arg line="weblogic.jspc -compiler javac -docroot Hibernia -classpath ${cp} -keepgenerated" /> > <fileset dir="/view/vobadm_ECL_HIBERNIA/ebppvobstore/vobs/HIBERNIA/com/alltel/ebusine ss/pay/adjustment/pages/" includes="**/*.jsp/**" /> > </apply> > </target> > > I 've already defined the property cp. I am able to compile java files using the same path. The error message I am getting when I try to compile > the jsps is > > [apply] Executing java weblogic.jspc -compiler javac -docroot Hibernia -classpath > /opt/devlib/jsse1.0.2/lib/jsse.jar:/opt/devlib/jsse1.0.2/lib/jcert.jar: > /opt/devlib/jsse1.0.2/lib/jnet.jar:/opt/weblogic5/classes:/opt/weblogic5/lib /weblogic510sp5boot.jar:/opt/weblogic5/lib/weblogicaux.jar:/opt/weblogic5/ > lib/weblogic510sp5.jar:/opt/weblogic5/lib/jspCasePatch_sp5_oneoff.jar:/opt/o racle/app/oracle/product/8.1.7/jdbc/lib/classes12.zip:/opt/devlib/xerces1. > 1.2/xerces.jar:/opt/devlib/jaf1.0.1/activation.jar:/opt/java1.2/jre/lib/rt.j ar:/opt/java1.2/lib/classes.zip:/opt/devlib/javamail1.1.3/mail.jar:/view/v > obadm_ECL_HIBERNIA/ebppvobstore/vobs/HIBERNIA:/view/vobadm_ECL_HIBERNIA/ebpp vobstore/vobs/HIBERNIA/com/alltel/ebusiness/document_root:/opt/devlib/jsdt > 2.0/lib/jsdt-client-lrmp.jar:/opt/devlib/jsdt2.0/lib/jsdt-client-http.jar:/o pt/devlib/jsdt2.0/lib/jsdt-client-socket.jar:/opt/devlib/jsdt2.0/lib/jsdt. > jar:/opt/devlib/jt400/lib/jt400.zip:/opt/devlib/jce1.2/lib/jce1_2-do.jar -ke epgenerated /view/vobadm_ECL_HIBERNIA/ebppvobstore/vobs/HIBERNIA/com/allte > l/ebusiness/pay/adjustment/pages/LineItemAdjustmentResponsePage.jsp > [apply] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/jspc > [apply] Result: 1 > > > It makes me believe that this error message has something to do with classpath. I searched the web also. If I set the same classpath from the > command line and compile the jsps, it works. > I enabled the verbose mode for ant and java, but no clue. > Does anybody has any idea, how to go about resolving this problem ? > > Appreciate any help. > > Thx > Kailash > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>