You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephen Zhou <sz...@entricom.com> on 2000/07/04 00:00:39 UTC

how to make jspc.sh -webapp work

Hi, all,
I'm trying to make jspc to work with -webapp option.
when I try
jspc.sh -d /usr/local/apache/tomcat/webapps/myapp/WEB-INF/classes -webapp
/usr/local/apache/tomcat/webapps/myapp
get Exception in thread "main' java.lang.NullPointerException
	at java.io.File.<init>(File.java:181)
	at org.apache.jasper.JspC.parseFiles(JspC.java:454)
	at org.apache.jasper.JspC.main(JspC.java:601)
what did I do wrong?
it works when I try
jspc.sh -d /usr/local/apache/tomcat/webapps/myapp/WEB-INF/classes
/usr/local/apache/tomcat/webapps/myapp/login.jsp
thanks in advance.
Stephen