JasperException: Unable to initialize TldLocationsCache:
Ajoy Sharma
Greenhorn
Joined: Feb 24, 2004
Posts: 9
posted
0
Iam facing problem when i am deploying my files on j2ee 1.4 server it give following erroer:: my .tld file and jsp are given below any body can help me; mytaglib.tld file: <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.// DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/ web-jsptaglibrary_1_1.dtd"> <!-- a tag library descriptor --> <taglib> <tlibversion>1.0</tlibversion> <jspversion>1.1</jspversion> <shortname>first</shortname> <uri></uri> <info>A simple tab library for the examples</info> <tag> <name>hello</name> <tagclass>tags.HelloTag</tagclass> <bodycontent>empty</bodycontent> <info>Say Hi</info> </tag> </taglib>
You just posted this question before where you had an error in your xml (double << . I see you removed your extra character. Did you TRY to recompile or did you just remove the line in the stacktrace pointing to the first line in your xml? Usually when you get xml parsing errors you will get a line and character location where it had problems.
Please do not ask the same question twice. Any further discussion of this problem will occur in the original topic. bear JSP Forum Bartender [ March 18, 2004: Message edited by: Bear Bibeault ]