Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while trying to use standard custom tag from Tomcat5.0

Vishwajit Mankar
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I am getting following exception when I try to access my JSP. I have put jstl.jar in /WEB-INF/lib folder. But it doesn't contain talib.tld. Where will I get that and do I have to put in jstl.jar.

org.apache.jasper.JasperException: Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/C:/Tomcat5.0/webapps/exam/WEB-INF/lib/jstl.jar": java.lang.NullPointerException
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(
at org.apache.jasper.compiler.ErrorDispatcher.jspError(
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(
at org.apache.jasper.compiler.Parser.parseTaglibDirective(
at org.apache.jasper.compiler.Parser.parseDirective(
at org.apache.jasper.compiler.Parser.parseElements(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.ParserController.doParse(
at org.apache.jasper.compiler.ParserController.parse(
at org.apache.jasper.compiler.Compiler.generateJava(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.JspCompilationContext.compile(
at org.apache.jasper.servlet.JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic