tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paramjeet Singh Bawa <>
Subject Getting error during the compilation of JSP tag library using Jasper compliler of Tomcat.
Date Wed, 22 Jun 2011 10:09:14 GMT
Hi List,

I am trying to shift my project from Resin to Tomcat 7. Everything goes fine during deployment.
But when I try to access JSP page it is giving me SEVERE Error as follows.

Error details:
[jasper] Jun 22, 2011 2:32:19 AM org.apache.jasper.xmlparser.MyEntityResolver resolveEntity
      [jasper] SEVERE: Invalid PUBLIC ID: -//Sun Microsystems, Inc.//DTD JSP Tag Library

JSP Detail : (inside my application)
      <%@ taglib uri="" prefix="rs" %>

TLD file paf-rswitch.tld (can't change, Code freeze belongs to other project)
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library"

This tld is present inside a jar META-INF/tlds folder.

Here is some more detail about my environment :
Tag lib version : 1.0
JSP version 1.2
Tomcat : 7.0.14
JDK : 1.6_14

This will be great help if someone could help me in this issue.

I saw the jasper implementation of MyEntityResolver, it try to match the Cached Public id
with supplied once. These are defined in of Apache Jasper project. Is there
any other way to solve without changing the public id inside the tld file ?


This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message