I'm trying to use the jsp compiler and I know I must be having classpath
problems. When I attempt to execute the following command:
C:\resin30\resin-3.0.22\lib>java com.caucho.jsp.JspCompiler -app-dir
"/opt/www/foo" test/foo.jsp
 
I get the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/caucho/jsp/JspCompiler
 
So I modified my command to this:
C:\resin30\resin-3.0.22\lib>java -jar resin.jar
com.caucho.jsp.JspCompiler -app-dir "/opt/www/foo" test/foo.jsp
and got this exception instead:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/caucho/server/boot/ResinBoot
 
This is my classpath:
C:\resin30\resin-3.0.22\lib>set classpath
CLASSPATH=.;C:\resin30\resin-3.0.22\lib;C:\Program
Files\Java\jre1.6.0_01\lib\ext\QTJava.zip
 
The root dir for resin is C:\resin30\resin-3.0.22\ and the lib directory
contains the files:
C:\resin30\resin-3.0.22\lib>ls
activation.jar     j2ee-deploy-10.jar           jca-15.jar
jstl-11.jar        resin-jdk15.jar
aopalliance.jar  j2ee-management-10.jar  jms-11.jar   jta-101.jar
resin.jar
ejb-20.jar          java                               jmx-12.jar
portlet-10.jar   resinboot.jar
ejb-30.jar          javamail-14.jar                jsdk-24.jar
quercus.jar     script-10.jar
 
So, what am I missing? resinboot.jar is here. resin.jar is here. Which
jar file is ResinBoot in?
 
Regards,
 
Tim

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to