tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51523] ClassNotFoundException when loading TLD listeners
Date Tue, 19 Jul 2011 17:00:09 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #6 from Mark Thomas <> 2011-07-19 17:00:09 UTC ---
Tracked it down.

The TLD provided by the JAR you are using is invalid. If you follow the
definitions in the XSDs you'll eventually see that leading and trailing
whitespace should not be present.

Since this is an invalid TLD Tomcat will not be adding a work-around for this.
Tomcat very rarely adds workarounds for bugs in third-party

The reason I wasn't seeing it is that I always run Tomcat with
Amongst other things, this configures the XML parsers to use the slower but
specification compliant settings of validation=true and namespaceAware=true.
With these settings the parsers remove leading and trailing whitespace.

One work-around that is available to you is to enable STRICT_SERVLET_COMPLIANCE
or configure appropriate XML validation for the specific context. Help with
either of those options is available on the users mailing list.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message