tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Tomcat 5.5.28 Class loading issue
Date Thu, 28 Jan 2010 15:46:50 GMT
Hash: SHA1


On 1/26/2010 6:54 PM, Pid wrote:
> Tomcat supplies all of the servlet & JSPs jars, you don't need to add them.


In fact, it's illegal to provide them. Smith should have noticed a
warning in catalina.out (or elsewhere) that servlet-api.jar provides
certain classes from javax.servlet that are illegal to define within the
webapp, and that they'll be ignored.

>> I listed jasper.jar as being an issue.
> Why?  If it's also duplicated in WEB-INF, then it should not be.

I agree. What was wrong with jasper.jar? Are you [Smith] trying to
compile your own JSP resources with your own code or something?

>> It was naming-*.jars packaged with Tomcat 5.5.28 that was an issue.
> Again, why.  No duplication allowed as above.


>> Also, I had a references to older jars
>> (such as jstl.jar) in my project--Tomcat 5.5.28 uses newer jars for
>> several
>> things.
> Tomcat 5.5 doesn't know JSTL exists, you must supply it if you are using
> it.


You can see from the jsp-examples webapp provided with Tomcat 5.5.28
that jstl.jar is in the webapp's WEB-INF/lib directory. You could use
that one if you wanted to.

Maybe it would be best if Smith were to post a list of all the JAR files
in WEB-INF/lib so we could see them. It might be enlightening.

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


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

View raw message