Re: jspc taglib handling different between 5.5.4 and 5.5.7

2005-02-02 Thread Vinny
I am having the same issue. My absolute uri'd  tld are not getting resolved.
Also I am getting this error when I try running my struts app:

ERROR: 2005-02-02 14:45:27,578: ApplicationDispatcher:
Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException
at 
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:420)
at 
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
at 
org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:162)
at 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



On Tue, 1 Feb 2005 09:55:12 -0600, Jason Schuchert [EMAIL PROTECTED] wrote:
 i upgraded to 5.5.7 this weekend and noticed that my ant jsp precompile task 
 was failing for .jsp files that were referencing taglibs.  it gave a message 
 like:
 
 org.apache.jasper.JasperException: The absolute uri: 
 http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the 
 jar files deployed with this application
 
 the line in the offending jsp looks like:
 
 %@ taglib uri=http://java.sun.com/jsp/jstl/sql; prefix=sql %
 
 if i go into the jstl taglib jar file and grab the sql.tld file and put it 
 into my WEB-INF then the jspc task works.
 
 in 5.5.4 this worked without having the sql.tld file in WEB-INF (it was just 
 found in the .jar file of the tag library)
 
 anybody hitting similar issues?  was there a change in the jspc code that 
 intentionally makes this not work in 5.5.7?
 
 thanks!
 
 -jason
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jspc taglib handling different between 5.5.4 and 5.5.7

2005-02-02 Thread Jason Schuchert
i submitted a bug (http://issues.apache.org/bugzilla/show_bug.cgi?id=33373) 
for the precompile error i'm getting which you may want to add your 
information too as well if you think it's related (or log separate bug if 
not)

thanks,
-jason
- Original Message - 
From: Vinny [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, February 02, 2005 2:13 PM
Subject: Re: jspc taglib handling different between 5.5.4 and 5.5.7


I am having the same issue. My absolute uri'd  tld are not getting 
resolved.
Also I am getting this error when I try running my struts app:

ERROR: 2005-02-02 14:45:27,578: ApplicationDispatcher:
Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException
   at 
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:420)
   at 
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
   at 
org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:162)
   at 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
   at 
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
   at 
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
   at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
   at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
   at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
   at 
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
   at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
   at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


On Tue, 1 Feb 2005 09:55:12 -0600, Jason Schuchert [EMAIL PROTECTED] 
wrote:
i upgraded to 5.5.7 this weekend and noticed that my ant jsp precompile 
task was failing for .jsp files that were referencing taglibs.  it gave a 
message like:

org.apache.jasper.JasperException: The absolute uri: 
http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or 
the jar files deployed with this application

the line in the offending jsp looks like:
%@ taglib uri=http://java.sun.com/jsp/jstl/sql; prefix=sql %
if i go into the jstl taglib jar file and grab the sql.tld file and put 
it into my WEB-INF then the jspc task works.

in 5.5.4 this worked without having the sql.tld file in WEB-INF (it was 
just found in the .jar file of the tag library)

anybody hitting similar issues?  was there a change in the jspc code that 
intentionally makes this not work in 5.5.7?

thanks!
-jason

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


jspc taglib handling different between 5.5.4 and 5.5.7

2005-02-01 Thread Jason Schuchert
i upgraded to 5.5.7 this weekend and noticed that my ant jsp precompile task 
was failing for .jsp files that were referencing taglibs.  it gave a message 
like:

org.apache.jasper.JasperException: The absolute uri: 
http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the 
jar files deployed with this application

the line in the offending jsp looks like:

%@ taglib uri=http://java.sun.com/jsp/jstl/sql; prefix=sql %

if i go into the jstl taglib jar file and grab the sql.tld file and put it into 
my WEB-INF then the jspc task works.

in 5.5.4 this worked without having the sql.tld file in WEB-INF (it was just 
found in the .jar file of the tag library)

anybody hitting similar issues?  was there a change in the jspc code that 
intentionally makes this not work in 5.5.7?

thanks!

-jason