dcsimg
(Tiles) Problem with TldLocationsCache
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ruben_barroso
Posted On:   Wednesday, March 17, 2004 11:32 PM

I'm using Struts Tiles Framework in my application, but suddenly an error has appeared when I import the tiles taglib in a jsp.Here is the message: org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:210) org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:181) org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:516) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:457) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577) org.apache.jasper.c   More>>

I'm using Struts Tiles Framework in my application, but suddenly an error has appeared when I import the tiles taglib in a jsp.Here is the message:



org.apache.jasper.JasperException: Unable to initialize TldLocationsCache:
org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:210)
org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:181)
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:516)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:457)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
org.apache.jasper.compiler.Parser.parse(Parser.java:171)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:253)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:137)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)



When I quit @taglib directive all is OK (except I can't use Tiles!!).



Any idea?



Best regards.

   <<Less
About | Sitemap | Contact