DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25549>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25549 Jasper does not find the tag class Summary: Jasper does not find the tag class Product: Tomcat 4 Version: 4.1.24 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have deployed an application which uses jsp and tag libraries. When the JSP is invoked, it compiles but the compile fails with the following exception: vlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file [javac] C:\jboss320 \server\default\work\MainEngine\localhost\env\DatePageWit hTag_jsp.java:98: cannot resolve symbol [javac] symbol : class DateTag [javac] location: class org.apache.jsp.DatePageWithTag_jsp [javac] DateTag _jspx_th_mytags_date_0 = (DateTag) _jspx_tagPool_mytags_ date.get(DateTag.class); [javac] ^ [javac] C:\jboss320 \server\default\work\MainEngine\localhost\env\DatePageWit hTag_jsp.java:98: cannot resolve symbol [javac] symbol : class DateTag [javac] location: class org.apache.jsp.DatePageWithTag_jsp [javac] DateTag _jspx_th_mytags_date_0 = (DateTag) _jspx_tagPool_mytags_ date.get(DateTag.class); [javac] ^ [javac] C:\jboss320 \server\default\work\MainEngine\localhost\env\DatePageWit hTag_jsp.java:98: cannot resolve symbol [javac] symbol : class DateTag [javac] location: class org.apache.jsp.DatePageWithTag_jsp [javac] DateTag _jspx_th_mytags_date_0 = (DateTag) _jspx_tagPool_mytags_ date.get(DateTag.class); [javac] ^ [javac] 3 errors I have verified that the DateTag class resides in the classes directory under web-inf of the war file. Web-inf directory also contains the taglib.tld the content of which is as below: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> <taglib> <tlib-version>1.0</tlib-version> <jsp-version>1.2</jsp-version> <short-name>first</short-name> <uri>http://www.elucify.com/j2eetips/sept2002/taglib</uri> <description>Sample tag library</description> <tag> <name>date</name> <tag-class>DateTag</tag-class> <body-content>empty</body-content> <description>Print the date with a compiled-in format</description> <attribute> <name>format</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> <tag> <name>showattrs</name> <tag-class>ShowAttrsTag</tag-class> <body-content>empty</body-content> <description>Print attributes. If "name" is given, shows only "name". If name is not given, shows all names in scope. If scope is not given, shows all names using pageContext.getAttribute(). </description> <attribute> <name>name</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> </taglib> Could you let me know if there is a problem with my deployment. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]