tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Reg.NoClassDefintionFound Error with Tomcat-4.0.1 and jdk1.5.0_02
Date Thu, 31 Mar 2011 19:48:17 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tirumala,

On 3/31/2011 10:15 AM, Tirumala Rao Naidu wrote:
> I Tried it in the Test Environment almost same as production
> environment.

Your test environment should be identical to your production environment
except maybe for IP addresses. :(

> All the classes inside JAXB is loaded perfectly, but those classes
> are not exceuting in Test Environment.

JAXB is just an API. You also need an implementation. Look in your test
environment common/lib, server/lib and shared/lib files for anything
JAXB-related.

You should bundle all non-JRE-supplied libraries into WEB-INF/lib, with
the notable exception of any JDBC driver library for which you need
Tomcat to initialize a JNDI DataSource.

> So tried copying the jars from Application/WEB-INF/lib to
> tommat/lib.then the application started working.

This will make things worse for you: move your webapp-specific libraries
into WEB-INF/lib and get them working, there. Then you won't have this
problem in the future.


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

iEYEARECAAYFAk2U2oEACgkQ9CaO5/Lv0PBWDQCgql4pzIHfON3pxzGaUSA41xSp
m/wAoJnVPaUA1/4o4r0tVIpjFr/SJ3dY
=SoPa
-----END PGP SIGNATURE-----

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


Mime
View raw message