> My app used to work on Tomcat 4.0.1, but now I get a
> java.lang.NoClassDefFoundError whenever the application tries to use one
of
> our custom tags: in particular, it's a tag that uses XSLT transformations.
> The class that is not found is
> javax.xml.transform.TransformerConfigurationException, which is located in
> the xml-apis.jar file, located in our webapp's WEB-INF/lib directory.
This
> file came with Xalan.

Yes, it's a well known issue.

> I've attached a stack trace below.  Notice that the error happens in
> introspecting on the Tag bean.  From this I infer that whatever class is
> introspecting on the bean was loaded by a ClassLoader that does not have
> visibility to classes loaded from the webapp's WEB-INF/lib directory.
(Can
> someone confirm this?)
>
> Is this a bug or a feature?  Can anyone confirm that my analysis above is
> correct, or else explain where I've failed to analyze the situation
> properly?  Does anyone have any suggestions as to how I can fix this
> problem?

That's a feature gone wrong. Sorry for the trouble ...
Move Xalan to common/lib, or upgrade to 4.0.4-b1.

Remy


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to