tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Crook <tjcr...@yahoo.com>
Subject Repost: Does jspc.sh work for you in Tomcat 4.0b7 ?
Date Tue, 11 Sep 2001 06:08:45 GMT
I posted this problem a couple of weeks ago but got no response. I would 
really appreciate it if anyone who has gotten jspc.sh to work with 4.0b7 
could give a few details of how they did it. I'm having no luck. (It 
works fine with Tomcat 3.2.3)

Thanks

=====

Details:
--------
Platform: Redhat Linux 7.1
Java Environment: IBMJava2-13 (but I get the same behavior with sun 
jdk1.3.1 )

Here's the attempt to run jspc and the resulting output:

/opt/tomcat/bin/jspc.sh -d jsp2java -webinc WEB-INF/jspc.xml -webapp .
Using CLASSPATH: 
:/opt/tomcat/classes:/opt/tomcat/lib/jasper-runtime.jar:/opt/tomcat/common/lib/servlet.jar:/opt/tomcat/lib/namingfactory.jar:/opt/tomcat/common/lib/servlet.jar:/opt/tomcat/jasper/crimson.jar:/opt/tomcat/common/lib/servlet.jar:/opt/tomcat/jasper/jasper-compiler.jar:/opt/tomcat/common/lib/servlet.jar:/opt/tomcat/jasper/jaxp.jar:/opt/tomcat/common/lib/servlet.jar


2001-09-11 04:06:14 - ERROR-the file '/analysis.jsp' generated the 
following general exception: java.lang.NullPointerException
java.lang.NullPointerException
   at 
org.apache.jasper.CommandLineContext.getTldLocation(CommandLineContext.java:365) 

   at 
org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1146)


   at 
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:755)


   at 
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:121)


   at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:243)
   at org.apache.jasper.compiler.Parser.parse(Parser.java:1126)
   at org.apache.jasper.compiler.Parser.parse(Parser.java:1091)
   at org.apache.jasper.compiler.Parser.parse(Parser.java:1087)
   at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:213) 

   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
   at org.apache.jasper.JspC.parseFile(JspC.java:385)
   at org.apache.jasper.JspC.parseFiles(JspC.java:651)
   at org.apache.jasper.JspC.main(JspC.java:699)



Mime
View raw message