You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pady Srinivasan <Pa...@Heroix.com> on 2004/03/30 16:01:52 UTC

[OT] jspc from command line...

Tomcat 5.0.16...

When I try to run jspc from command line, I get this error:

C:\projects>jspc -v -d c:\jspoutput -p com.myapp.reports -c Test newtest.jsp
java.lang.NullPointerException
        at org.apache.jasper.JspC.initServletContext(JspC.java:990)
        at org.apache.jasper.JspC.execute(JspC.java:852)
        at org.apache.jasper.JspC.main(JspC.java:238)


Anybody used jspc as above ?



Thanks
 
-- pady
PSrinivasan@heroix.com
 


______________________________________________________________________
This e-mail has been scanned by the Heroix e-mail security system
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: [OT] jspc from command line...

Posted by "Kunal H. Parikh" <ku...@carsales.com.au>.
You need to include the tomcat jars in ur classpath!

TOMCAT_HOME\bin\*.jar
TOMCAT_HOME\server\lib\*.jar
TOMCAT_HOME\common\lib\*.jar

-----Original Message-----
From: Pady Srinivasan [mailto:Pady.Srinivasan@Heroix.com] 
Sent: Wednesday, 31 March 2004 00:02
To: struts-user@jakarta.apache.org
Subject: [OT] jspc from command line...


Tomcat 5.0.16...

When I try to run jspc from command line, I get this error:

C:\projects>jspc -v -d c:\jspoutput -p com.myapp.reports -c Test newtest.jsp
java.lang.NullPointerException
        at org.apache.jasper.JspC.initServletContext(JspC.java:990)
        at org.apache.jasper.JspC.execute(JspC.java:852)
        at org.apache.jasper.JspC.main(JspC.java:238)


Anybody used jspc as above ?



Thanks
 
-- pady
PSrinivasan@heroix.com
 


______________________________________________________________________
This e-mail has been scanned by the Heroix e-mail security system
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: [OT] jspc from command line...

Posted by Pat Quinn <pa...@hotmail.com>.
If your using any tag libraries in your JSP check that their in your
classpath. 

-----Original Message-----
From: Pady Srinivasan [mailto:Pady.Srinivasan@Heroix.com] 
Sent: 30 March 2004 15:02
To: struts-user@jakarta.apache.org
Subject: [OT] jspc from command line...


Tomcat 5.0.16...

When I try to run jspc from command line, I get this error:

C:\projects>jspc -v -d c:\jspoutput -p com.myapp.reports -c Test newtest.jsp
java.lang.NullPointerException
        at org.apache.jasper.JspC.initServletContext(JspC.java:990)
        at org.apache.jasper.JspC.execute(JspC.java:852)
        at org.apache.jasper.JspC.main(JspC.java:238)


Anybody used jspc as above ?



Thanks
 
-- pady
PSrinivasan@heroix.com
 


______________________________________________________________________
This e-mail has been scanned by the Heroix e-mail security system
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org