tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5254] New: - JspC Error when invoked from ANT
Date Mon, 03 Dec 2001 23:22:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5254>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5254

JspC Error when invoked from ANT

           Summary: JspC Error when invoked from ANT
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jason.block@gvsi.com


I am consistently getting the EmptyStackException when attempting to precompile 
a basic JSP file via an invocation of JspC in the ANT scriptlet that follows:

_____| Environment |____
+ Win 2000
+ JDK 1.3.1 01
+ j2sdkee 1.3
+ ANT 1.4.1 (final)
+ TOMCAT 4.0.1 (final)

_____| ANT Code |______
<java classname="org.apache.jasper.JspC">
  <arg line="-webapp ${jsp}"/>
  <classpath>
   <pathelement 
path="${global_j2ee_home}/lib/j2ee.jar;${global_tomcat_home}/bin/jasper-
compiler.jar;${temp_lib}"/>
   </classpath>
</java>


____| Stack |_____
2001-12-03 05:13:05 - ERROR-the file '\test.jsp' generated the following general
 exception: java.util.EmptyStackException
     [java] java.util.EmptyStackException
     [java]     at java.util.Stack.peek(Stack.java:82)
     [java]     at org.apache.jasper.compiler.ParserController.resolveFileName(P
arserController.java:419)
     [java]     at org.apache.jasper.compiler.ParserController.parse(ParserContr
oller.java:187)
     [java]     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210
)
     [java]     at org.apache.jasper.JspC.parseFile(JspC.java:385)
     [java]     at org.apache.jasper.JspC.parseFiles(JspC.java:651)
     [java]     at org.apache.jasper.JspC.main(JspC.java:699)
     [java]     at java.lang.reflect.Method.invoke(Native Method)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava
.java:124)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:305)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:127)

     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:88)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:217)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:184)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:202)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:601)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:560)

     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:454)
     [java]     at org.apache.tools.ant.Main.start(Main.java:153)
     [java]     at org.apache.tools.ant.Main.main(Main.java:176)

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message