You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Lenny Karpel <lk...@Eloquent.com> on 2002/08/07 01:11:30 UTC

4.1.8: 'Unable to compile JSP' exceptions

All:

I am having trouble compiling jsp on 4.1.8 .. noticed the following in one
of the logs .. any ideas ??

1. notice the javac errors with statements like:
JspRuntimeLibrary.include(request, response,  e.nextElement() , out, true);
2. also notice some warnings about single quote characters .. not sure if
that is important ..

Lenny Karpel

--------------------------------------------

2002-08-06 16:47:09 JspEngine --> /ecsJSP/emain.jsp
2002-08-06 16:47:09       ServletPath: /ecsJSP/emain.jsp
2002-08-06 16:47:09          PathInfo: null
2002-08-06 16:47:09          RealPath: c:\ecs\webapp\ecsJSP\emain.jsp
2002-08-06 16:47:09        RequestURI: /ecs/ecsJSP/emain.jsp
2002-08-06 16:47:09       QueryString:
ID=D1EED4AA-F6F7-4B2A-A646-3A9F54FA9912.LaunchWizardGeneral&U=1028673285140
2002-08-06 16:47:09    Request Params: 
2002-08-06 16:47:09    ID =
D1EED4AA-F6F7-4B2A-A646-3A9F54FA9912.LaunchWizardGeneral
2002-08-06 16:47:09    U = 1028673285140
2002-08-06 16:47:10 Error compiling file: C:\Program Files\Apache
Group\Tomcat 4.1\work\Standalone\localhost\ecs\ecsJSP\/emain_jsp.java
[javac] ecsJSP\emain_jsp.java added as C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\ecs\ecsJSP\emain_jsp.class doesn't exist.
    [javac] Compiling 1 source file
    [javac] Using modern compiler
    [javac] Compilation arguments:
    [javac] '-classpath'
    [javac] 'C:\Program Files\Apache Group\Tomcat
4.1\bin\bootstrap.jar;C:\ECS\webapp\WEB-INF\classes;C:\ECS\webapp\WEB-INF\li
b\JSQLConnect.jar;C:\ECS\webapp\WEB-INF\lib\NetChartsBeans.jar;C:\ECS\webapp
\WEB-INF\lib\SiebelJI_Common.jar;C:\ECS\webapp\WEB-INF\lib\SiebelJI_enu.jar;
C:\ECS\webapp\WEB-INF\lib\activation.jar;C:\ECS\webapp\WEB-INF\lib\ldapjdk.j
ar;C:\ECS\webapp\WEB-INF\lib\mail.jar;C:\ECS\webapp\WEB-INF\lib\msbase.jar;C
:\ECS\webapp\WEB-INF\lib\mssqlserver.jar;C:\ECS\webapp\WEB-INF\lib\msutil.ja
r;C:\ECS\webapp\WEB-INF\lib\oracle9i.jar;C:\ECS\webapp\WEB-INF\lib\oro.jar;C
:\Program Files\Apache Group\Tomcat 4.1\shared\classes;C:\Program
Files\Apache Group\Tomcat 4.1\shared\lib\jasper-compiler.jar;C:\Program
Files\Apache Group\Tomcat 4.1\shared\lib\jasper-runtime.jar;C:\Program
Files\Apache Group\Tomcat 4.1\common\classes;C:\Program Files\Apache
Group\Tomcat 4.1\common\lib\ant.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\commons-collections.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\commons-logging-api.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\jasper-compiler.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\jasper-runtime.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\naming-common.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\naming-factory.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\naming-resources.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\tools.jar'
    [javac] '-sourcepath'
    [javac] 'C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\ecs'
    [javac] '-encoding'
    [javac] 'UTF8'
    [javac] '-g'
    [javac] 
    [javac] The ' characters around the executable and arguments are
    [javac] not part of the command.
    [javac] File to be compiled:
    [javac]     C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\ecs\ecsJSP\emain_jsp.java
C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\ecs\ecsJSP\emain_jsp.java:298:
include(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServlet
Response,java.lang.String,javax.servlet.jsp.JspWriter,boolean) in
org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to
(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletRespons
e,java.lang.Object,javax.servlet.jsp.JspWriter,boolean)
      JspRuntimeLibrary.include(request, response,  e.nextElement() , out,
true);
                       ^
C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\ecs\ecsJSP\emain_jsp.java:308:
include(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServlet
Response,java.lang.String,javax.servlet.jsp.JspWriter,boolean) in
org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to
(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletRespons
e,java.lang.Object,javax.servlet.jsp.JspWriter,boolean)
      JspRuntimeLibrary.include(request, response,  e.nextElement() , out,
true);
                       ^
2 errors

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: 4.1.8: 'Unable to compile JSP' exceptions

Posted by "Brian P. Millett" <bp...@ec-group.com>.
On Tue, 2002-08-06 at 18:11, Lenny Karpel wrote:
> All:
> 
> I am having trouble compiling jsp on 4.1.8 .. noticed the following in one
> of the logs .. any ideas ??
> 
> 1. notice the javac errors with statements like:
> JspRuntimeLibrary.include(request, response,  e.nextElement() , out, true);

Yep, this is bugzilla bug # 10949.  Some day, someone will fix it.  I
take it that bugs get assigned a priority based on the number of
complaints issued.  Like, traffic lights get put in intersection only
after someone has been killed.

I guess to be fair, 4.1.8 is only beta and it IS a Jasper bug.  Tomcat
works just fine.

> 2. also notice some warnings about single quote characters .. not sure if
> that is important ..

-- 
Brian Millett                    
Enterprise Consulting Group   "Shifts in paradigms
(314) 205-9030               often cause nose bleeds."
bpm@ec-group.com                           Greg Glenn


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>