jasper offline produces NullPointerException in tomcat-4.1.24? 2003-12-04 - By Edson Alves Pereira
Back Hello folks, i wonder if is really possible to compile JSP pages offline, because all that i doing is going wrong, take a look at this output:
$java org.apache.jasper.JspC -d blah -uribase http://osctrl -webapp /usr/local/ApacheGroup/tomcat-4 (See http://cat-4.ora-code.com).1.24/webapps/osctrl-app -uriroot /usr/local/ApacheGroup/tomcat-4 (See http://cat-4.ora-code.com).1.24/webapps/osctrl-app
2003-12-04 03:28:32 - ERROR-the file '\jsp\cadastroPerfil\cadastroPerfilFrm.jsp' generated the following general exception: java.lang.NullPointerException  error:org.apache.jasper.JasperException : Error compiling \jsp\cadastroPerfil\cadastroPerfilFrm.jsp at org.apache.jasper.JspC (JspC.java:596) at org.apache.jasper.JspC (JspC.java:801) at org.apache.jasper.JspC (JspC.java:823)
Now i�m taking a look at org.apache.jasper.JspC�s source and ( i�m not sure, because i cannot debug JspC and don�t have its source for tomcat-4 (See http://cat-4.ora-code.com).1.24 ) as far as i can see, JspC cannot compile without objects and instances that should came from Tomcat. If this is my mistake in the command line, could someone shows me a correct example of JspC offline command line?
Regards, Edson
|
|