tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap
Date Mon, 03 Dec 2007 15:14:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin,

mgainty@hotmail.com wrote:
> later on in the index.jsp attempt to use the log
> line 42 onMouseUp="<%log.debug("From index.jsp StringToEncrypt=");
> 
> An error occurred at line: 42 in the jsp file: /index.jsp
> Generated servlet error:
> log cannot be resolved (but commons-logging.jar IS located in
> %CATALINA_HOME%\common\lib) so why did'nt the classloader find it?

This isn't a ClassNotFoundException, this is a "you didn't declare
'log'" error.

Can you give us the entire example JSP?

Finally, why are you trying to call server-side logging from a
javascript event handler?!

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVB1Y9CaO5/Lv0PARAqZzAJ4n8VlalbKyhPWIO9raJLHDvJDIewCfUulS
wYrn5P292EvLROtFg63+mSk=
=U7Ao
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message