tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 37084] JspC from ant fails on JSPs that use custom taglib
Date Sun, 04 Jan 2009 07:11:35 GMT

Konstantin Kolinko <> changed:

           What    |Removed                     |Added
  Attachment #23074|0                           |1
        is obsolete|                            |

--- Comment #12 from Konstantin Kolinko <>  2009-01-03 23:11:32
PST ---
Created an attachment (id=23078)
 --> (
webapp that reproduces the issue when compiled by JspC

To reproduce the issue:

The following recipe is for Eclipse IDE project for TC 6.0.

1. In your project folder create the following subdirectory and two
subdirectories in it:

2. Unzip the war file into bug37084/source

3. Create the following Run configuration:
type: Java Application
Main class: org.apache.jasper.JspC
Arguments / Program arguments:  -uriroot bug37084\source -d bug37084\output

4. Run the application

5. A stacktrace is observed:

04.01.2009 10:06:30 org.apache.jasper.JspC processFile
SEVERE: ERROR-the file '\index.jsp' generated the following general exception:
        at sun.misc.URLClassPath$
        at Method)
        at sun.misc.URLClassPath.getLoader(
        at sun.misc.URLClassPath.getLoader(
        at sun.misc.URLClassPath.getResource(
        at Method)

6. Delete the generated files from bug37084/output


The patch that I proposed above does not help. It just results in
java.lang.ClassNotFoundException being thrown instead of the NPE.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message